aboutsummaryrefslogtreecommitdiff
path: root/src/css.cc
diff options
context:
space:
mode:
authorJohannes Hofmann <Johannes.Hofmann@gmx.de>2008-12-15 17:01:24 +0100
committerJohannes Hofmann <Johannes.Hofmann@gmx.de>2008-12-15 17:01:24 +0100
commit1fc92576c6c97dc83d0869e6e9d76ae0be9b61ae (patch)
tree564dade35e2cc75888102a313c2f49547e8f43b1 /src/css.cc
parentacb76acac6307b108439a8c78f4421446a7d8829 (diff)
remove border style definition for <img> from user-agent style
Diffstat (limited to 'src/css.cc')
-rw-r--r--src/css.cc3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/css.cc b/src/css.cc
index 9bee25a4..5b704a8a 100644
--- a/src/css.cc
+++ b/src/css.cc
@@ -267,8 +267,7 @@ void CssContext::buildUserAgentStyle () {
":visited {color: green; text-decoration: underline; cursor: pointer; } "
"h1, h2, h3, h4, h5, h6, b, strong {font-weight: bolder; } "
"i, em, cite, address {font-style: italic; } "
- "img {border-style: solid } "
- "img:link, img:visited {border-width: 1px } "
+ "img:link, img:visited {border: 1px solid } "
"frameset, ul, ol, dir {margin-left: 40px} "
"h1 {font-size: 2em; margin-top: .67em; margin-bottom: 0em;} "
"h2 {font-size: 1.5em; margin-top: .75em; margin-bottom: 0em;} "