emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Saptarshi Guha <saptarshi.guha@gmail.com>
To: emacs-orgmode@gnu.org
Subject: Table export to HTML, column alignment
Date: Sun, 5 Dec 2010 23:34:30 -0800	[thread overview]
Message-ID: <AANLkTiks8toyyUMicBiCucFg-YvMWbyjJJDgAOidcqe3@mail.gmail.com> (raw)

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?

Many thanks
Joy

org-version

release_7.3-199-gdf4b7
Org-mode version 7.3 (release_7.3.199.gdf4b7.dirty)









[1] http://orgmode.org/manual/Column-width-and-alignment.html

             reply	other threads:[~2010-12-06  7:34 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-12-06  7:34 Saptarshi Guha [this message]
2010-12-19 15:58 ` Table export to HTML, column alignment David Maus

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=AANLkTiks8toyyUMicBiCucFg-YvMWbyjJJDgAOidcqe3@mail.gmail.com \
    --to=saptarshi.guha@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).