emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Kyle Meyer <kyle@kyleam.com>
To: Uwe Brauer <oub@mat.ucm.es>, emacs-orgmode@gnu.org
Subject: Re: export org tables to html, configure the borders
Date: Thu, 26 Mar 2020 03:07:07 +0000	[thread overview]
Message-ID: <87imirstk4.fsf@kyleam.com> (raw)
In-Reply-To: <87ftdz9cmv.fsf@mat.ucm.es>

Uwe Brauer <oub@mat.ucm.es> 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

  reply	other threads:[~2020-03-26  3:07 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-03-23 17:58 export org tables to html, configure the borders Uwe Brauer
2020-03-26  3:07 ` Kyle Meyer [this message]
2020-03-26  6:54   ` Uwe Brauer

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87imirstk4.fsf@kyleam.com \
    --to=kyle@kyleam.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=oub@mat.ucm.es \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).