changeset 791:89121eaefd83

fix border around images within links
author Johannes Hofmann <Johannes.Hofmann@gmx.de>
date Mon, 19 Jan 2009 21:57:06 +0100
parents 7302c191fc53
children 00a1a424e6ba
files src/css.cc
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/css.cc	Mon Jan 19 16:49:41 2009 +0100
+++ b/src/css.cc	Mon Jan 19 21:57:06 2009 +0100
@@ -361,7 +361,7 @@
      ":visited {color: #800080; text-decoration: underline; cursor: pointer}"
      "h1, h2, h3, h4, h5, h6, b, strong {font-weight: bolder}"
      "i, em, cite, address {font-style: italic}"
-     "img:link, img:visited {border: 1px solid}"
+     ":link img, :visited img {border: 1px solid}"
      "frameset, ul, ol, dir {margin-left: 40px}"
      "h1 {font-size: 2em; margin-top: .67em; margin-bottom: 0}"
      "h2 {font-size: 1.5em; margin-top: .75em; margin-bottom: 0}"