From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nick Dokos Subject: Re: get rid of empty caption on html export? Date: Fri, 17 Aug 2012 17:43:29 -0400 Message-ID: <6908.1345239809@alphaville> References: Reply-To: nicholas.dokos@hp.com Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([208.118.235.92]:45412) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1T2UKS-0004qx-W4 for emacs-orgmode@gnu.org; Fri, 17 Aug 2012 17:43:41 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1T2UKR-0002Mb-RN for emacs-orgmode@gnu.org; Fri, 17 Aug 2012 17:43:40 -0400 Received: from g4t0015.houston.hp.com ([15.201.24.18]:34451) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1T2UKR-0002MO-MZ for emacs-orgmode@gnu.org; Fri, 17 Aug 2012 17:43:39 -0400 In-Reply-To: Message from Matt Price of "Fri\, 17 Aug 2012 17\:21\:23 EDT." 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: Matt Price Cc: Org Mode Matt Price wrote: > I have asimpl table in an org document which, when i export to HTML, > is for some reason accompanied by an empty tag.=C2=A0 > My wordpress theme causes the caption to take up valuable space...=C2=A0 = is > there any way to surpress the caption tag from being created on > export?=C2=A0 If not, maybe osmeone has a css trick that will stop the > caption tag from taking up vertical space on the screen if there's > nothing inside it?=C2=A0 org-html.el says: ,---- | ;; Since the output of HTML table formatter can also be used in | ;; DocBook document, we want to always include the caption to make | ;; DocBook XML file valid. | (push (format "%s" (or caption "")) html) `---- which seems a bit smelly to me, but it explains the empty caption. Sorry, can't help with CSS. Nick