From mboxrd@z Thu Jan 1 00:00:00 1970 From: Rick Frankel Subject: Re: org-table: missing vertical boundary when exported Date: Thu, 14 Aug 2014 10:16:13 -0400 Message-ID: <9a4475c57c945cc1264c4a69abfef214@mail.rickster.com> References: <425643e10ffe7568a26049ef408851dd@mail.rickster.com> <20140811175826.GA67199@eyeBook> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:34643) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XHvpD-00078D-Uy for emacs-orgmode@gnu.org; Thu, 14 Aug 2014 10:16:26 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XHvp7-0007Dn-Qm for emacs-orgmode@gnu.org; Thu, 14 Aug 2014 10:16:19 -0400 Received: from mail.rickster.com ([204.62.15.78]:44949) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XHvp7-0007Db-NM for emacs-orgmode@gnu.org; Thu, 14 Aug 2014 10:16:13 -0400 In-Reply-To: List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Shiyuan Cc: emacs-orgmode@gnu.org On 2014-08-13 00:46, Shiyuan wrote: > Rick,=C2=A0 > =C2=A0 =C2=A0Do you mean that=C2=A0=C2=A0 and > 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?=C2=A0 Please read the HTML specifications for an explaination. By my reading border=3D"2" is in fact invalid in html5: The border attribute may be specified on a table element to explicitly indicate that the table element is not being used for layout purposes. If specified, the attribute's value must either be the empty string or the value "1". The attribute is used by certain user agents as an indication that borders should be drawn around cells of the table. In html4 it does seem to do the same thing: border =3D pixels [CN] This attributes specifies the width (in pixels only) of the frame around a table (see the Note below for more information about this attribute). > =C2=A0 =C2=A0 =C2=A0 > 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
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?=C2=A0 Use css selectors. If you want to set the style attribute directly on the table element in a post-processor you may, but is is not considered best practice.