From 4ba320c3848b719df6f8929d23e4b9c0043ce89b Mon Sep 17 00:00:00 2001 From: Trevor Parscal Date: Wed, 2 Feb 2011 22:59:06 +0000 Subject: [PATCH] Fixed bug #26829 by increasing the specificity of the CSS hack used to get IE6 working so that it doesn't also affect IE7. --- skins/vector/screen.css | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/skins/vector/screen.css b/skins/vector/screen.css index ae9fca49a7..27c46c13a9 100644 --- a/skins/vector/screen.css +++ b/skins/vector/screen.css @@ -1138,7 +1138,6 @@ div#bodyContent { #ca-watch.icon { margin-right:1px; } -/* OVERRIDDEN BY COMPLIANT BROWSERS */ #ca-unwatch.icon a, #ca-watch.icon a { margin: 0; @@ -1148,17 +1147,14 @@ div#bodyContent { width: 26px; /* This hides the text but shows the background image */ padding-top: 3.1em; - margin-top: -0.8em; + margin-top: 0; + /* Only applied in IE6 */ + margin-top: -0.8em !ie; height: 0; overflow: hidden; /* @embed */ background-image: url(images/watch-icons.png); } -/* IGNORED BY IE6 */ -html > body #ca-unwatch.icon a, -html > body #ca-watch.icon a { - margin-top: 0; -} #ca-unwatch.icon a { background-position: -43px 60%; } -- 2.20.1