summaryrefslogtreecommitdiff
path: root/docutils/writers/html4css1/html4css1.css
diff options
context:
space:
mode:
authorwiemann <wiemann@929543f6-e4f2-0310-98a6-ba3bd3dd1d04>2005-12-18 00:56:14 +0000
committerwiemann <wiemann@929543f6-e4f2-0310-98a6-ba3bd3dd1d04>2005-12-18 00:56:14 +0000
commitf74554e1ffb09253b3676bf5b7e0cbfda5a5212c (patch)
tree621ff3623d76783232a7f2bc51434467a834f1a4 /docutils/writers/html4css1/html4css1.css
parent739335b875550323bd4c50f561eec0aa9ddd6365 (diff)
downloaddocutils-f74554e1ffb09253b3676bf5b7e0cbfda5a5212c.tar.gz
removed padding around cells of borderless tables;
simplified comments git-svn-id: https://svn.code.sf.net/p/docutils/code/trunk/docutils@4224 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
Diffstat (limited to 'docutils/writers/html4css1/html4css1.css')
-rw-r--r--docutils/writers/html4css1/html4css1.css12
1 files changed, 8 insertions, 4 deletions
diff --git a/docutils/writers/html4css1/html4css1.css b/docutils/writers/html4css1/html4css1.css
index beab2b42b..e94df1546 100644
--- a/docutils/writers/html4css1/html4css1.css
+++ b/docutils/writers/html4css1/html4css1.css
@@ -12,12 +12,16 @@ customize this style sheet.
*/
/* used to remove borders from tables and images */
-.borderless, .borderless td {border: 0;}
+.borderless, table.borderless td, table.borderless th {
+ border: 0 }
+
+table.borderless td, table.borderless th {
+ /* Override padding for "table.docutils td" with "! important".
+ The right padding separates the table cells. */
+ padding: 0 0.5em 0 0 ! important }
-/* "! important" is used here to override other ``margin-top`` and
- ``margin-bottom`` styles that are later in the stylesheet or
- more specific. See http://www.w3.org/TR/CSS1#the-cascade */
.first {
+ /* Override more specific margin styles with "! important". */
margin-top: 0 ! important }
.last, .with-subtitle {