summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBastien Guerry <bzg@altern.org>2013-12-30 10:44:57 +0100
committerBastien Guerry <bzg@altern.org>2013-12-30 10:44:57 +0100
commitf58a8482b4060751b75a4ccf1a2ca63db96543fa (patch)
tree87ce22be708cabcd911e3f5f856a71a0a6c85089
parent855ba428f2148380b0d1934f382524e3669ff91e (diff)
parent71e2401bb59f432a0d71f8e98621effc41662707 (diff)
downloadorg-mode-f58a8482b4060751b75a4ccf1a2ca63db96543fa.tar.gz
Merge branch 'maint'
-rw-r--r--lisp/ox-html.el6
1 files changed, 4 insertions, 2 deletions
diff --git a/lisp/ox-html.el b/lisp/ox-html.el
index 9fa0a8c..38988ed 100644
--- a/lisp/ox-html.el
+++ b/lisp/ox-html.el
@@ -280,6 +280,8 @@ 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; }
@@ -3268,8 +3270,8 @@ contextual information."
(if (equal attributes "") "" (concat " " attributes))
(if (not caption) ""
(format (if org-html-table-caption-above
- "<caption align=\"above\">%s</caption>"
- "<caption align=\"bottom\">%s</caption>")
+ "<caption class=\"t-above\">%s</caption>"
+ "<caption class=\"t-bottom\">%s</caption>")
(concat
"<span class=\"table-number\">"
(format (org-html--translate "Table %d:" info) number)