Matt Price <[email protected]> wrote:

>  I have asimpl table in an org document which, when i export to HTML,
> is for some reason accompanied by an empty <caption></caption> tag. 
> My wordpress theme causes the caption to take up valuable space...  is
> there any way to surpress the caption tag from being created on
> export?  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? 

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 "<caption>%s</caption>" (or caption "")) html)
`----

which seems a bit smelly to me, but it explains the empty caption.
Sorry, can't help with CSS.

Nick

Reply via email to