From: Shiyuan <gshy2014@gmail.com>
To: Shiyuan <gshy2014@gmail.com>,
"emacs-orgmode@gnu.org" <emacs-orgmode@gnu.org>
Subject: Re: org-table: missing vertical boundary when exported
Date: Tue, 12 Aug 2014 21:46:25 -0700 [thread overview]
Message-ID: <CAOm4EMuGadUeGeeTsmct+yNkv4dn=6L8TmXD4f-0CXO6T9oXHg@mail.gmail.com> (raw)
In-Reply-To: <20140811175826.GA67199@eyeBook>
[-- Attachment #1: Type: text/plain, Size: 1510 bytes --]
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?
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?
Thank you.
Shiyuan
> Org mode generated this line in the html for table but the border is
> not
> > displayed,Â
> > <table border="2" cellspacing="0" cellpadding="6" rules="groups"
> > frame="hsides">
>
> The "border" attribute has nothing to do with it. It's the "frame"
> attribute
> which sets the default top and bottom borders.
>
> > If we use css style to specify the border, Â the table border would
> show
> > up:Â
> > <table style="border:2px" cellspacing="0" cellpadding="6"
> rules="groups"
> > frame="hsides">
>
> No. The CSS should be in the header, not an attribute of the tag. Have you
> tried setting the 'HTML_HEAD_EXTRA' option? somehting like:
> #+HTML_HEAD_EXTRA: <style type="text/css">
> #+HTML_HEAD_EXTRA: table {border-left: 1px solid black; border-right: 1px
> solid black;}
> #+HTML_HEAD_EXTRA: </style>
>
>
> rick
>
[-- Attachment #2: Type: text/html, Size: 2453 bytes --]
next prev parent reply other threads:[~2014-08-13 4:46 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 [this message]
2014-08-14 14:16 ` Rick Frankel
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='CAOm4EMuGadUeGeeTsmct+yNkv4dn=6L8TmXD4f-0CXO6T9oXHg@mail.gmail.com' \
--to=gshy2014@gmail.com \
--cc=emacs-orgmode@gnu.org \
/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).