emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Shiyuan <gshy2014@gmail.com>
To: Rick Frankel <rick@rickster.com>
Cc: "emacs-orgmode@gnu.org" <emacs-orgmode@gnu.org>
Subject: Re: org-table: missing vertical boundary when exported
Date: Sat, 9 Aug 2014 17:49:27 -0700	[thread overview]
Message-ID: <CAOm4EMtO-_9GSMvEOTHDpEtWdT1wp1xprvO9udLTN4ipTBPzKA@mail.gmail.com> (raw)
In-Reply-To: <CAOm4EMu1zxEiXmnWbnde5JjLhQ92ZP09PScSD86RGjeLpKB3fw@mail.gmail.com>

[-- Attachment #1: Type: text/plain, Size: 2258 bytes --]

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">

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">

Don't know why it is that. But is there any org keywords/properties I can
specify so that  Org would not use the border  attribute but use the style
attribute instead when exporting to html? Thanks.

Shiyuan



On Tue, Jun 10, 2014 at 10:34 PM, Shiyuan <gshy2014@gmail.com> wrote:

> Yes, it seems to be related to the browser or css style stuff.  In fact,
> for the attached html in  Thorsten's previous email, the two boundaries
> vertical lines are also missing in my Google Chrome or Firefox.  Thanks.
>
> This is the example directed from copy-paste.
>
> |   |  N | N^2 | N^3 | N^4 | sqrt(n) | sqrt[4](N) |
> |---+----+-----+-----+-----+---------+------------|
> | / | <> |   < |     |   > |       < |          > |
> | # |  1 |   1 |   1 |   1 |       1 |          1 |
> | # |  2 |   4 |   8 |  16 |  1.4142 |     1.1892 |
> | # |  3 |   9 |  27 |  81 |  1.7321 |     1.3161 |
> |---+----+-----+-----+-----+---------+------------|
> This is my minimal config, Emacs start with '-Q  -l "~/myorg.el" which is
>
> (package-initialize)
> (org-babel-do-load-languages
>  'org-babel-load-languages
>  '((python . t)
>    (emacs-lisp . t)
>    (latex . t)))
>
>
>
> On Tue, Jun 10, 2014 at 6:23 AM, Rick Frankel <rick@rickster.com> wrote:
>
>> On 2014-06-07 17:15, Shiyuan wrote:
>>
>>>     I am following the manual
>>> example http://orgmode.org/worg/org-tutorials/tables.html [1]. But the
>>>
>>> two vertical boundary line on the very left and right
>>> is not showing up when exported to html.  Anything I am missing? Thanks.
>>>
>>
>> My guess is that it is related to the css being used to style the table
>> in your setup.
>>
>> Could you post a minimal example with the html output?
>>
>> rick
>>
>
>

[-- Attachment #2: Type: text/html, Size: 3826 bytes --]

  reply	other threads:[~2014-08-10  0:49 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 [this message]
2014-08-11 17:58       ` Rick Frankel
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=CAOm4EMtO-_9GSMvEOTHDpEtWdT1wp1xprvO9udLTN4ipTBPzKA@mail.gmail.com \
    --to=gshy2014@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=rick@rickster.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).