emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Rick Frankel <rick@rickster.com>
To: Shiyuan <gshy2014@gmail.com>
Cc: "emacs-orgmode@gnu.org" <emacs-orgmode@gnu.org>
Subject: Re: org-table: missing vertical boundary when exported
Date: Mon, 11 Aug 2014 13:58:26 -0400	[thread overview]
Message-ID: <20140811175826.GA67199@eyeBook> (raw)
In-Reply-To: <CAOm4EMtO-_9GSMvEOTHDpEtWdT1wp1xprvO9udLTN4ipTBPzKA@mail.gmail.com>

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain; charset=utf-8, Size: 1126 bytes --]

On Sat, Aug 09, 2014 at 05:49:27PM -0700, Shiyuan wrote:
>    Hi,Â
>    Â Â I learned a bit a about html/css and took another look the issue. It
>    turns out that org-mode uses the border attribute which is not respected
>    by my browser(Google Chrome version 36.0.1985.125 on Mac 10.9.4) .Â
>    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

  reply	other threads:[~2014-08-11 17:58 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 [this message]
2014-08-13  4:46         ` Shiyuan
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=20140811175826.GA67199@eyeBook \
    --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).