emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Bug: Table alignment [8.2.10 (release_8.2.10 @ /usr/local/src/emacs/lisp/org/)]
@ 2015-05-04  3:02 Jay Belanger
  2015-05-06 10:56 ` Rasmus
  0 siblings, 1 reply; 10+ messages in thread
From: Jay Belanger @ 2015-05-04  3:02 UTC (permalink / raw)
  To: emacs-orgmode; +Cc: jay.p.belanger


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
  | <l>   |
in the appropriate column, but that wasn't working.
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; }

(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/)

^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2015-05-08 15:15 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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
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

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).