Stephen J. Barr <stephenjb...@gmail.com> wrote:

> Hello,
> 
> This seems like a simple question but I can't seem to find the answer?
> How do I specify the table width for an org-table that I will export
> to HTML?
> 

Not sure about the real HTMl syntax, or whether this is the best
solution (I'd imagine CSS would be better *if* it can be done with CSS)
but the following:

#+ATTR_HTML: width="100"
| col1 | col2 |
|------+------|
|    1 |    3 |
|      |      |

gets translated into an HTML table with an opening tag like this:

<table  border="2" cellspacing="0" cellpadding="6" rules="groups" 
frame="hsides" width="100">

Does that do the trick?

Nick



Reply via email to