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: Rick Frankel
Subject: Re: [O] org-table: missing vertical boundary when exported
Date: Mon, 11 Aug 2014 13:58:26 -0400
User-agent: Mutt/1.5.23 (2014-03-12)

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 via email to

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