From mboxrd@z Thu Jan 1 00:00:00 1970 From: David Maus Subject: Re: Table export to HTML, column alignment Date: Sun, 19 Dec 2010 16:58:03 +0100 Message-ID: <878vzlrbzo.wl%dmaus@ictsoc.de> References: Mime-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: multipart/mixed; boundary="===============1007391938==" Return-path: Received: from [140.186.70.92] (port=40703 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PULeX-0002KI-8t for emacs-orgmode@gnu.org; Sun, 19 Dec 2010 10:58:31 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PULeV-0006Pg-Ay for emacs-orgmode@gnu.org; Sun, 19 Dec 2010 10:58:29 -0500 Received: from mailout110.xlhost.de ([213.202.242.110]:60995 helo=mysql1.xlhost.de) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PULeV-0006Ox-5I for emacs-orgmode@gnu.org; Sun, 19 Dec 2010 10:58:27 -0500 In-Reply-To: List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: saptarshi.guha@gmail.com Cc: emacs-orgmode@gnu.org --===============1007391938== Content-Type: multipart/signed; boundary="pgp-sign-Multipart_Sun_Dec_19_16:58:03_2010-1"; micalg=pgp-sha256; protocol="application/pgp-signature" Content-Transfer-Encoding: 7bit --pgp-sign-Multipart_Sun_Dec_19_16:58:03_2010-1 Content-Type: text/plain; charset=US-ASCII 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" > |--------------------------------+--------------------------------------| > | | | > | 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.... dmjena@jabber.org Email..... dmaus@ictsoc.de --pgp-sign-Multipart_Sun_Dec_19_16:58:03_2010-1 Content-Type: application/pgp-signature Content-Transfer-Encoding: 7bit -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (GNU/Linux) iF4EABEIAAYFAk0OK4sACgkQma24O1pEeOb4bwEA16PgHl5Uv4svXVbU6mhHGRfi xdJXO6QJ8EabnEslGCAA/3/F+BMx29DnQPIq3NHWAx7FYUdyO9c45IK7xqk1OqUN =E8V9 -----END PGP SIGNATURE----- --pgp-sign-Multipart_Sun_Dec_19_16:58:03_2010-1-- --===============1007391938== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode --===============1007391938==--