[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Orgmode] Re: Aligning Columns in HTML Export Tables

From: Baoqiu Cui
Subject: Re: [Orgmode] Re: Aligning Columns in HTML Export Tables
Date: Sun, 24 Oct 2010 21:36:36 -0700
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.2 (darwin)

Carsten Dominik <address@hidden> writes:

> Baoqiu,
> (or any other users of the docbook exporter)
> I am not sure if the docbook format has suffered from this change,
> could you please run a few tests involving tables and report back?

Thanks for supporting this new feature.  DocBook exporter does not
really suffer from this change, but it does not benefit from it either.
After checking the documentation of DocBook and HTML table, it seems
that using the "class" attribute in <td> elements for alignment is not
the best solution.  Attribute "align" is officially supported by DocBook
and HTML based on the following two links:

  1. http://docbook.org/tdg5/en/html/html.td.html
  2. http://www.w3.org/TR/html401/struct/tables.html#h-11.3.2

If I change "class" to "align" in the following lines, the same table
can be recognized by both Firefox and DocBook.  I am wondering if there
is any special reason to use "class" instead of "align".  If not, can we
change the elisp code to use "align"?

<tr><td class="left">A</td><td class="left">B</td><td class="right">C</td></tr>
<tr><td class="left">1</td><td class="left">2</td><td class="right">3</td></tr>
<tr><td class="left">12</td><td class="left">13</td><td 
<tr><td class="left">9</td><td class="left">11</td><td class="right">4</td></tr>



reply via email to

[Prev in Thread] Current Thread [Next in Thread]