From 71e2401bb59f432a0d71f8e98621effc41662707 Mon Sep 17 00:00:00 2001 From: Vladimir Lomov Date: Sun, 29 Dec 2013 07:33:59 +0900 Subject: [PATCH] ox-html.el: Use classes for caption instead of align * ox-html.el (org-html-style-default): New classes caption.t-above and caption.t-bottom. (org-html-table): Use new classes. TINYCHANGE Signed-off-by: Vladimir Lomov --- lisp/ox-html.el | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/lisp/ox-html.el b/lisp/ox-html.el index 44962a533..845fd3caa 100644 --- a/lisp/ox-html.el +++ b/lisp/ox-html.el @@ -279,6 +279,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; } @@ -3255,8 +3257,8 @@ contextual information." (if (equal attributes "") "" (concat " " attributes)) (if (not caption) "" (format (if org-html-table-caption-above - "%s" - "%s") + "%s" + "%s") (concat "" (format (org-html--translate "Table %d:" info) number) -- 2.11.4.GIT