From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bill White Subject: html export: row/column dividers in tables Date: Mon, 30 Mar 2009 20:01:44 -0500 Message-ID: <87wsa6wlmv.fsf@wolfram.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LoSMQ-0008VT-0W for emacs-orgmode@gnu.org; Mon, 30 Mar 2009 21:01:50 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LoSML-0008Ux-Su for emacs-orgmode@gnu.org; Mon, 30 Mar 2009 21:01:49 -0400 Received: from [199.232.76.173] (port=52061 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LoSML-0008Uu-Kc for emacs-orgmode@gnu.org; Mon, 30 Mar 2009 21:01:45 -0400 Received: from webmail.wolfram.com ([140.177.205.37]:41345) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1LoSML-0001i4-1p for emacs-orgmode@gnu.org; Mon, 30 Mar 2009 21:01:45 -0400 Received: from billw-desktop.wolfram.com (vpnclient45.wolfram.com [140.177.99.45]) (authenticated bits=0) by webmail.wolfram.com (8.13.7/8.13.7) with ESMTP id n2V12CYH019803 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Mon, 30 Mar 2009 20:02:13 -0500 List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org I recently found a need for visible dividers (or "rules") between the rows and columns of an org table exported to html. The most recent discussion of this that I could find on gmane was http://article.gmane.org/gmane.emacs.orgmode/1709/match=table+rules+html from 2007, which concluded that such rules weren't supported, so here's a kludgey workaround I found today: #+BEGIN_HTML
|----+----+----+----|
| a0 | b0 | c0 | d0 |
|----+----+----+----|
| a1 | b1 | c1 | d1 |
|----+----+----+----|
| a2 | b2 | c2 | d2 |
|----+----+----+----|
#+END_HTML It isn't pretty, but it works when you really need visual separation of rows and columns. Here's what it looks like in real life: http://members.wolfram.com/billw/VerbatimTables.html BTW, here's how I got the org-mode code sample onto the webpage: #+begin_src org #+BEGIN_HTML
|----+----+----+----|
| a0 | b0 | c0 | d0 |
|----+----+----+----|
| a1 | b1 | c1 | d1 |
|----+----+----+----|
| a2 | b2 | c2 | d2 |
|----+----+----+----|
#+END_HTML #+end_src Cheers - bw -- Bill White . billw@wolfram.com . http://members.wolfram.com/billw "No ma'am, we're musicians."