title: How to change Stargazer HTML table width?
body: <p>I really like the styling of tables that the stargazer package uses. The tables render fine in pdf using Knitr and Rstudio. However when I try to knit my .Rmd into an html page, the tables end up squished together. Chunk option <code>fig.width</code> does not help, nor does the stargazer option <code>column.sep.width</code>. Is there any way to change the table width or is there another workflow to get pretty summary tables in html?</p>
  
  <p>Reproducible example:</p>
  
  <pre><code>{r test, results = "asis"}
  
  stargazer::stargazer(attitude,
                   type = "html",
                   digits = 2,
                   summary.stat = c("mean","sd","median","min", "max"))
  </code></pre>
  
  <p><img src="https://i.stack.imgur.com/YZz9g.png" alt="Latex rendering"></p>
  
  <p><img src="https://i.stack.imgur.com/6zSb3.png" alt="HTML rendering"></p>