From 2489cbb7b8d12db880185a3f9c624b4777347f70 Mon Sep 17 00:00:00 2001 From: "kipp%netscape.com" Date: Wed, 1 Sep 1999 20:58:59 +0000 Subject: [PATCH] Revised img linking/usemap rules as per suggestion in bug #8027 which fixes #8027 --- layout/html/document/src/ua.css | 29 +++++++++-------------------- layout/style/ua.css | 29 +++++++++-------------------- 2 files changed, 18 insertions(+), 40 deletions(-) diff --git a/layout/html/document/src/ua.css b/layout/html/document/src/ua.css index 6eda38f8f8f9..15d914b890b4 100644 --- a/layout/html/document/src/ua.css +++ b/layout/html/document/src/ua.css @@ -226,26 +226,6 @@ a:out-of-date { text-decoration: underline; cursor: pointer; } -a:link img { - display: inline; - border: 2px solid; - text-decoration: none; -} -a:visited img { - display: inline; - border: 2px solid; - text-decoration: none; -} -a:active img { - display: inline; - border: 2px solid; - text-decoration: none; -} -a:out-of-date img { - display: inline; - border: 2px solid; - text-decoration: none; -} b, strong { display: inline; font-weight: bolder; @@ -424,6 +404,15 @@ img[align=left] { img[align=right] { margin-left: 4px; } +a:link img, a:visited img, a:active img, +a:out-of-date img, img[usemap], object[usemap] { + display: inline; + border: 2px solid; + cursor: pointer; +} +img[usemap], object[usemap] { + color: blue; +} img:-moz-text { /* font-family: sans-serif; */ /* font-size: 8.5pt; */ diff --git a/layout/style/ua.css b/layout/style/ua.css index 6eda38f8f8f9..15d914b890b4 100644 --- a/layout/style/ua.css +++ b/layout/style/ua.css @@ -226,26 +226,6 @@ a:out-of-date { text-decoration: underline; cursor: pointer; } -a:link img { - display: inline; - border: 2px solid; - text-decoration: none; -} -a:visited img { - display: inline; - border: 2px solid; - text-decoration: none; -} -a:active img { - display: inline; - border: 2px solid; - text-decoration: none; -} -a:out-of-date img { - display: inline; - border: 2px solid; - text-decoration: none; -} b, strong { display: inline; font-weight: bolder; @@ -424,6 +404,15 @@ img[align=left] { img[align=right] { margin-left: 4px; } +a:link img, a:visited img, a:active img, +a:out-of-date img, img[usemap], object[usemap] { + display: inline; + border: 2px solid; + cursor: pointer; +} +img[usemap], object[usemap] { + color: blue; +} img:-moz-text { /* font-family: sans-serif; */ /* font-size: 8.5pt; */