From mboxrd@z Thu Jan 1 00:00:00 1970 From: Vladimir Lomov Subject: Re: HTML table export options essentially undocumented Date: Tue, 18 Mar 2014 15:41:39 +0900 Message-ID: <20140318064139.GE6077@smoon> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:33124) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WPnig-0001BG-9w for emacs-orgmode@gnu.org; Tue, 18 Mar 2014 02:41:55 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WPnia-0004A8-JH for emacs-orgmode@gnu.org; Tue, 18 Mar 2014 02:41:50 -0400 Received: from mail-lb0-x230.google.com ([2a00:1450:4010:c04::230]:64785) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WPnia-00049p-8h for emacs-orgmode@gnu.org; Tue, 18 Mar 2014 02:41:44 -0400 Received: by mail-lb0-f176.google.com with SMTP id 10so4340360lbg.21 for ; Mon, 17 Mar 2014 23:41:42 -0700 (PDT) Received: from smoon ([141.105.52.108]) by mx.google.com with ESMTPSA id z6sm14158969lbb.9.2014.03.17.23.41.40 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 17 Mar 2014 23:41:41 -0700 (PDT) Content-Disposition: inline In-Reply-To: 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 Hello, ** James Harkins [2014-03-18 13:52:10 +0800]: > The documentation here seems rather un-detailed. > http://orgmode.org/manual/Tables-in-HTML-export.html#Tables-in-HTML-export > What I wanted to do was to have vertical rules between all columns, but not > horizontal rules. Neither this section of the documentation, nor the > docstring for org-html-table-default-attributes, provide any details on how > to do this. > It's a rather busy day and I'm not in the mood to scour through the elisp > sources, so, could someone please enlighten (and fix the docs)? AFAIU, in current state table decoration is hard coded into exporter. But that doesn't mean you cannot change they style. Take a look on this small example: ------------------------------ 8< ------------------------------ #+TITLE: Table with borders #+AUTHOR: Vladimir Lomov #+HTML_HEAD_EXTRA: * Small table | Name | Address | |--------------+----------------| | Clifford, A. | Kensington Av. | | Euler, G | Krechet Str. | * CSS Style :noexport: #+BEGIN_SRC css :tangle tbl.css table { border: solid 1px; } td { border: solid 1px; } #+END_SRC ------------------------------ 8< ------------------------------ How to try: tangle the SRC block and then export the document into HTML. Open it in any web-browser that supports CSS. > hjh --- WBR, Vladimir Lomov -- Some people have a way about them that seems to say: "If I have only one life to live, let me live it as a jerk."