From mboxrd@z Thu Jan 1 00:00:00 1970 From: Uwe Brauer Subject: export org tables to html, configure the borders Date: Mon, 23 Mar 2020 18:58:32 +0100 Message-ID: <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]:56624) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jGRLV-0001RM-Jc for emacs-orgmode@gnu.org; Mon, 23 Mar 2020 13:58:43 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1jGRLU-0006bX-Lx for emacs-orgmode@gnu.org; Mon, 23 Mar 2020 13:58:41 -0400 Received: from ciao.gmane.io ([159.69.161.202]:34274) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1jGRLU-0006ar-Fx for emacs-orgmode@gnu.org; Mon, 23 Mar 2020 13:58:40 -0400 Received: from list by ciao.gmane.io with local (Exim 4.92) (envelope-from ) id 1jGRLS-000HEV-Vf for emacs-orgmode@gnu.org; Mon, 23 Mar 2020 18:58:38 +0100 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: emacs-orgmode@gnu.org Hi I have the following table #+begin_src | Product | online clases with pdf | share screen | whiteboard | stability of the connection | |-------------+-------------------------+-------------------+---------------------------+-------------------------------------| | collaborate | yes | not with the iPad | yes but | disconnects every 30 min | | | | | big letter distortion | | | | | | de delete function | | | | | | does not work properly: | | | | | | all the text gets deleted | | |-------------+-------------------------+-------------------+---------------------------+-------------------------------------| | Google meet | yes | yes with the iPad | there is none | disconnects every 5 min once | | | | | | share screen is activated | |-------------+-------------------------+-------------------+---------------------------+-------------------------------------| | zoom | yes | yes with the iPad | decent whiteboard | very well, however the free version | | | | | | only allows 40 min sessions | |-------------+-------------------------+-------------------+---------------------------+-------------------------------------| #+end_src Now I would like to export it to html precisely with these vertical and horizontal borders. 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 2. How can I have such a setting locally just for one table? Thanks and regards Uwe Brauer