From: Rick Frankel <rick@rickster.com>
To: Shiyuan <gshy2014@gmail.com>
Cc: emacs-orgmode@gnu.org
Subject: Re: org-table: missing vertical boundary when exported
Date: Thu, 14 Aug 2014 10:16:13 -0400 [thread overview]
Message-ID: <9a4475c57c945cc1264c4a69abfef214@mail.rickster.com> (raw)
In-Reply-To: <CAOm4EMuGadUeGeeTsmct+yNkv4dn=6L8TmXD4f-0CXO6T9oXHg@mail.gmail.com>
On 2014-08-13 00:46, Shiyuan wrote:
> Rick,
> Do you mean that <table border="2"> and <table style="border:2px">
> don't mean the same thing? Their names suggest they do the same
> things. That's a terrible naming. Changing the former to the latter
> does fix the problem though. Why is that?
Please read the HTML specifications for an explaination. By my reading
border="2" is in fact invalid in html5:
The border attribute may be specified on a table element to
explicitly indicate that the table element is not being used for
layout purposes. If specified, the attribute's value must either
be the empty string or the value "1". The attribute is used by
certain user agents as an indication that borders should be drawn
around cells of the table.
In html4 it does seem to do the same thing:
border = pixels [CN]
This attributes specifies the width (in pixels only) of the frame
around a table (see the Note below for more information about this
attribute).
>
> Using the #+HTML_HEAD_EXTRA options as you suggest can also fix the
> problem. But could you explain why using the HTML_HEAD_EXTRA is more
> advisable than setting the <table style="border:2px"> directly as
> table attributes? What would you suggest if we want some tables have
> orders and others don't have borders in the same html webpage?
Use css selectors. If you want to set the style attribute directly on
the table element in a post-processor you may, but is is not
considered best practice.
prev parent reply other threads:[~2014-08-14 14:16 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-06-07 21:15 org-table: missing vertical boundary when exported Shiyuan
2014-06-07 21:40 ` Thorsten Jolitz
2014-06-07 22:02 ` Shiyuan
2014-06-07 22:44 ` Thorsten Jolitz
2014-06-10 13:23 ` Rick Frankel
2014-06-10 15:34 ` John Hendy
2014-06-11 5:34 ` Shiyuan
2014-08-10 0:49 ` Shiyuan
2014-08-11 17:58 ` Rick Frankel
2014-08-13 4:46 ` Shiyuan
2014-08-14 14:16 ` Rick Frankel [this message]
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=9a4475c57c945cc1264c4a69abfef214@mail.rickster.com \
--to=rick@rickster.com \
--cc=emacs-orgmode@gnu.org \
--cc=gshy2014@gmail.com \
/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).