At Sun, 5 Dec 2010 23:34:30 -0800, Saptarshi Guha wrote: > > Hello, > > I would like to align a 2 column table with the left and right columns > left and right justified. > Having read [1], I tried > > #+ATTR_HTML: rules="all" frame="none" border="0" > |--------------------------------+--------------------------------------| > | <l> | <r> | > | daldladldlaksdlakjdlasjdlajksd | asdasdasSun Dec 05 13:09:05 PST 2010 | > | dasdasdasdasdaededeadaed | Sun Dec 05 13:10:17 PST 2010 | > | asdasdasdasdas | Sun Dec 05 13:11:07 PST 2010 | > | dasdaedaededaeda | Sun Dec 05 13:13:55 PST 2010 | > |--------------------------------+--------------------------------------| > | | | > > And ran into this issue > > 1) It works in org-mode but the exported table still has left align > for both columns > > Is there a CSS way (using id/classes) to get around the above?
Exporting the table to HTML and having the columns aligned works here
with
Org-mode version 7.4 (release_7.4.42.g2a36)
on
GNU Emacs 23.2.1 (i486-pc-linux-gnu, GTK+ Version 2.20.1) of
2010-11-03 on potassium, modified by Debian
The table columns have the CSS class 'left' and 'rigth' respectively,
so defining the CSS like:
,----
| td.left { text-align:left; }
| td.right { text-align:right; }
`----
Works.
Best,
-- David
--
OpenPGP... 0x99ADB83B5A4478E6
Jabber.... [email protected]
Email..... [email protected]
pgp0InkVx5hNI.pgp
Description: PGP signature
_______________________________________________ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. [email protected] http://lists.gnu.org/mailman/listinfo/emacs-orgmode
