aboutsummaryrefslogtreecommitdiff
path: root/src/css.cc
diff options
context:
space:
mode:
authorJohannes Hofmann <Johannes.Hofmann@gmx.de>2008-11-14 17:41:03 +0100
committerJohannes Hofmann <Johannes.Hofmann@gmx.de>2008-11-14 17:41:03 +0100
commitc43994bd4f1fa76cd4438e63be04def6755b7845 (patch)
tree1bd6139b347d033a74ecafea28450326a74a5dd8 /src/css.cc
parentf7ee70d4851e296be0b2defde9b6da36be4f417e (diff)
support padding-* and set it for <td>
Diffstat (limited to 'src/css.cc')
-rw-r--r--src/css.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/css.cc b/src/css.cc
index 9eac5bde..e75fc2d8 100644
--- a/src/css.cc
+++ b/src/css.cc
@@ -199,8 +199,8 @@ void CssContext::buildUserAgentStyle () {
"sub { vertical-align: sub } "
"sup { vertical-align: super } "
"s, strike, del { text-decoration: line-through }"
- "table {border-top-style: outset; border-spacing: 2px} "
- "td {border-top-style: inset} "
+ "table {border-top-style: outset; border-spacing: 1px} "
+ "td {border-top-style: inset; padding-top: 2px; padding-bottom: 2px; padding-left: 2px; padding-right: 2px} "
"thead, tbody, tfoot { vertical-align: middle }"
"tt, pre {font-family: courier;} ";