[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] Bug: Table alignment [8.2.10 (release_8.2.10 @ /usr/local/src/em
From: |
Rasmus |
Subject: |
Re: [O] Bug: Table alignment [8.2.10 (release_8.2.10 @ /usr/local/src/emacs/lisp/org/)] |
Date: |
Wed, 06 May 2015 12:56:44 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux) |
Jay Belanger <address@hidden> writes:
> When I looked at the resulting html, it looked fine:
> <th scope="col" class="left">Math Department</th>
> But then I checked the css code, which is given by the value of
> `org-html-style-default' in ox-html.el:
>
> th.right { text-align: center; }
> th.left { text-align: center; }
> th.center { text-align: center; }
> td.right { text-align: right; }
> td.left { text-align: left; }
> td.center { text-align: center; }
Indeed that looks weird. It seems to be a stylistic hack to have
*headers* always centered. I have no clue why.
> (It's this way in emacs 24.5 and the latest development version of emacs.)
> Easy to change locally, but am I missing something, or should
> `org-html-style-default' have
>
> 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; }
I guess it should, but I don't know the rational for the always-centering
of headers. . . If we imposed that change headlines of tables with no
instructions would no longer be centered as they default to the "left"
class. This could be an issue if this is a good default style...
—Rasmus
--
With monopolies the cake is a lie!
- [O] Bug: Table alignment [8.2.10 (release_8.2.10 @ /usr/local/src/emacs/lisp/org/)], Jay Belanger, 2015/05/06
- Re: [O] Bug: Table alignment [8.2.10 (release_8.2.10 @ /usr/local/src/emacs/lisp/org/)],
Rasmus <=
- Re: [O] Bug: Table alignment [8.2.10 (release_8.2.10 @ /usr/local/src/emacs/lisp/org/)], Matt Price, 2015/05/06
- [O] Bug: org-toggle-heading breaks with double colon '::' list items., Leo Ufimtsev, 2015/05/06
- Re: [O] Bug: org-toggle-heading breaks with double colon '::' list items., Nicolas Goaziou, 2015/05/06
- Re: [O] Bug: org-toggle-heading breaks with double colon '::' list items., Leo Ufimtsev, 2015/05/07
- Re: [O] Bug: org-return-indent does not work properly with description lists (i.e ending with double colon), Leo Ufimtsev, 2015/05/07
- Re: [O] Bug: org-return-indent does not work properly with description lists (i.e ending with double colon), Nicolas Goaziou, 2015/05/08
- Re: [O] Bug: org-return-indent does not work properly with description lists (i.e ending with double colon), Leo Ufimtsev, 2015/05/08
- Re: [O] Bug: Table alignment [8.2.10 (release_8.2.10 @ /usr/local/src/emacs/lisp/org/)], Rasmus, 2015/05/06