From mboxrd@z Thu Jan 1 00:00:00 1970 From: Kyle Meyer Subject: Re: export org tables to html, configure the borders Date: Thu, 26 Mar 2020 03:07:07 +0000 Message-ID: <87imirstk4.fsf@kyleam.com> References: <87ftdz9cmv.fsf@mat.ucm.es> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:470:142:3::10]:57930) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jHIrU-00076i-8V for emacs-orgmode@gnu.org; Wed, 25 Mar 2020 23:07:17 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1jHIrS-0006ke-UD for emacs-orgmode@gnu.org; Wed, 25 Mar 2020 23:07:15 -0400 Received: from pb-smtp21.pobox.com ([173.228.157.53]:56743) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1jHIrR-0006jK-Se for emacs-orgmode@gnu.org; Wed, 25 Mar 2020 23:07:14 -0400 In-Reply-To: <87ftdz9cmv.fsf@mat.ucm.es> 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-mx.org@gnu.org Sender: "Emacs-orgmode" To: Uwe Brauer , emacs-orgmode@gnu.org Uwe Brauer writes: > The standard setting of > org-html-table-default-attributes > > is > (:border "2" :cellspacing "0" :cellpadding "6" :rules "groups" :frame "hsides") > > Which does not insert the borders. > > However the setting > (:border "2" :cellspacing "0" :cellpadding "6" :frame "border" :rules "all") > > Inserts borders but to many of them, each line gets a horizontal > border, which I don't want. > > 1. What is the correct setting I don't know, though AFAICS by trying out the possible values [^0], I think something more involved than using the :rules attribute would be needed. ^0: https://www.w3schools.com/tags/att_table_rules.asp > 2. How can I have such a setting locally just for one table? You can place something like this before the table: #+ATTR_HTML: :rules all