summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBastien Guerry <bzg@altern.org>2013-12-30 10:43:43 +0100
committerBastien Guerry <bzg@altern.org>2013-12-30 10:43:43 +0100
commit4898be673fbd84406a0ad1a67fb103ea2b6be2c9 (patch)
tree0a2da087c3dd1f778569d19626a174bc66244e39
parent1813200fc81fa5e0f248407d852f3771fe2d4f6e (diff)
downloadorg-mode-4898be673fbd84406a0ad1a67fb103ea2b6be2c9.tar.gz
Revert "ox-html.el: Use classes for caption instead of align"
This reverts commit 1813200fc81fa5e0f248407d852f3771fe2d4f6e.
-rw-r--r--lisp/ox-html.el6
1 files changed, 2 insertions, 4 deletions
diff --git a/lisp/ox-html.el b/lisp/ox-html.el
index 845fd3c..44962a5 100644
--- a/lisp/ox-html.el
+++ b/lisp/ox-html.el
@@ -279,8 +279,6 @@ for the JavaScript code in this tag.
pre.src-sql:before { content: 'SQL'; }
table { border-collapse:collapse; }
- caption.t-above { caption-side: top; }
- caption.t-bottom { caption-side: bottom; }
td, th { vertical-align:top; }
th.right { text-align: center; }
th.left { text-align: center; }
@@ -3257,8 +3255,8 @@ contextual information."
(if (equal attributes "") "" (concat " " attributes))
(if (not caption) ""
(format (if org-html-table-caption-above
- "<caption class=\"t-above\">%s</caption>"
- "<caption class=\"t-bottom\">%s</caption>")
+ "<caption align=\"above\">%s</caption>"
+ "<caption align=\"bottom\">%s</caption>")
(concat
"<span class=\"table-number\">"
(format (org-html--translate "Table %d:" info) number)