From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jay Belanger Subject: Bug: Table alignment [8.2.10 (release_8.2.10 @ /usr/local/src/emacs/lisp/org/)] Date: Sun, 03 May 2015 22:02:39 -0500 Message-ID: <87k2wp11v4.fsf@gmail.com> Reply-To: jay.p.belanger@gmail.com Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:43435) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Yp6eY-00009r-Iu for emacs-orgmode@gnu.org; Sun, 03 May 2015 23:02:43 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Yp6eV-0002aX-Sj for emacs-orgmode@gnu.org; Sun, 03 May 2015 23:02:42 -0400 Received: from mail-oi0-x231.google.com ([2607:f8b0:4003:c06::231]:34565) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Yp6eV-0002aR-P1 for emacs-orgmode@gnu.org; Sun, 03 May 2015 23:02:39 -0400 Received: by oiko83 with SMTP id o83so103367570oik.1 for ; Sun, 03 May 2015 20:02:38 -0700 (PDT) List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org Cc: jay.p.belanger@gmail.com I was trying to get table elements to align left when exported to html, and I was having a bit of trouble doing it. I had a table entry at the top | | in the appropriate column, but that wasn't working. When I looked at the resulting html, it looked fine: Math Department 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; } (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; } Thanks, Jay Emacs : GNU Emacs 25.0.50.2 (x86_64-unknown-linux-gnu, GTK+ Version 3.4.2) of 2015-05-02 on belanger-home Package: Org-mode version 8.2.10 (release_8.2.10 @ /usr/local/src/emacs/lisp/org/)