emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [O] org-table: missing vertical boundary when exported


From: Shiyuan
Subject: Re: [O] org-table: missing vertical boundary when exported
Date: Sat, 9 Aug 2014 17:49:27 -0700

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 <address@hidden> 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 <address@hidden> 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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]