From: Matt Price <moptop99@gmail.com>
To: Rasmus <rasmus@gmx.us>
Cc: Org Mode <emacs-orgmode@gnu.org>
Subject: Re: Bug: Table alignment [8.2.10 (release_8.2.10 @ /usr/local/src/emacs/lisp/org/)]
Date: Wed, 6 May 2015 09:26:59 -0400 [thread overview]
Message-ID: <CAN_Dec9BEruLh-i=gPbrRhuZT1FAcUEeBhY5mVpc2jY3S93Cug@mail.gmail.com> (raw)
In-Reply-To: <87egmuc6tv.fsf@gmx.us>
[-- Attachment #1: Type: text/plain, Size: 1873 bytes --]
On May 6, 2015 06:57, "Rasmus" <rasmus@gmx.us> wrote:
>
> Jay Belanger <jay.p.belanger@gmail.com> 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...
>
Not use if this belongs in the same thread, but another potential issue
with the" left" and "right" classes is a namespace clash with external css
frameworks which use those classes to assign float values. I export to
WordPress using a zurb foundation based css framework, and my tables were
all messed up until I figured that out.
Matt
> —Rasmus
>
> --
> With monopolies the cake is a lie!
>
>
[-- Attachment #2: Type: text/html, Size: 2509 bytes --]
next prev parent reply other threads:[~2015-05-06 13:27 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-05-04 3:02 Bug: Table alignment [8.2.10 (release_8.2.10 @ /usr/local/src/emacs/lisp/org/)] Jay Belanger
2015-05-06 10:56 ` Rasmus
2015-05-06 13:26 ` Matt Price [this message]
2015-05-06 13:49 ` Bug: org-toggle-heading breaks with double colon '::' list items Leo Ufimtsev
2015-05-06 23:18 ` Nicolas Goaziou
2015-05-07 16:44 ` Leo Ufimtsev
2015-05-07 18:55 ` Bug: org-return-indent does not work properly with description lists (i.e ending with double colon) Leo Ufimtsev
2015-05-08 8:12 ` Nicolas Goaziou
2015-05-08 15:15 ` Leo Ufimtsev
2015-05-06 14:13 ` Bug: Table alignment [8.2.10 (release_8.2.10 @ /usr/local/src/emacs/lisp/org/)] Rasmus
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='CAN_Dec9BEruLh-i=gPbrRhuZT1FAcUEeBhY5mVpc2jY3S93Cug@mail.gmail.com' \
--to=moptop99@gmail.com \
--cc=emacs-orgmode@gnu.org \
--cc=rasmus@gmx.us \
/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).