[Orgmode] export table html centered

2009-08-15 Thread henry atting
That is what I am searching for: Is there a markup rule that puts org tables centered on the resulting page when exported as html. Seems that #+BEGIN_CENTER – #+END_CENTER does not do this, marking a table like that solely leads to an error message: progn: Args out of range: 84, 906 henry

Re: [Orgmode] export table html centered

2009-08-15 Thread Nick Dokos
Nick Dokos nicholas.do...@hp.com wrote: ... But if you don't mind using deprecated attributes, and assuming you want *every* table centered, then customizing org-export-table-header-tags ... Correction: that should be org-export-html-table-tag Sorry about that - the BIND

Re: [Orgmode] export table html centered

2009-08-15 Thread Carsten Dominik
Hi Henry, Nick, another way would be this: #+STYLE: styletable.center {margin-left:auto; margin- right:auto;}/style * A centered table #+ATTR_HTML: class=center | a | b | c | |---+---+---| | 1 | 2 | 3 | * An uncentered table | a | b | c | |---+---+---|