emacs-orgmode
[Top][All Lists]
Advanced

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

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


From: Sebastian Rose
Subject: Re: [Orgmode] Re: Aligning Columns in HTML Export Tables
Date: Sat, 23 Oct 2010 21:20:00 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux)

Carsten Dominik <address@hidden> writes:
>> How about this (line-wrapped for readability):
>>
>>
>> <tr>
>>  <td class="right">1</td>
>>  <td class="left">bar</td>
>>  <td class="left">text</td>
>> <tr>
>>
>> instead of
>>
>> <tr>
>>  <td style="text-align:right">1</td>
>>  <td style="text-align:left">bar</td>
>>  <td style="text-align:left">text</td>
>> <tr>
>>
>> ??
>>
>>
>> Combined with the ways to add IDs and classes to tables, we could then style
>> the
>> columns better.
>>
>> I would like to set this for right aligned <td> tags as default:
>>
>>   td.right { font-family:monospace;text-align:right; }
>
> OK, fair enough.  But I don't think I will make the monospace
> the Org default, it looks a bit odd.  BUt of cause you can change
> this.

Great!


> I have now in the default style:
>
>   td, th { vertical-align: top;  }
>   th.right  { text-align:right;  }
>   th.left   { text-align:left;   }
>   th.center { text-align:center; }
>   td.right  { text-align:right;  }
>   td.left   { text-align:left;   }
>   td.center { text-align:center; }
>
> Is there a way to write this more compactly?
>
> - Carsten


No, if you don't want to remove all whitespace :)

Ahhhhhhhh, that's cool!!!  Thank you!!!




   Sebastian




reply via email to

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