Improved simple search apearance in IE5 and IE6.
authorTrevor Parscal <tparscal@users.mediawiki.org>
Thu, 16 Jul 2009 18:11:51 +0000 (18:11 +0000)
committerTrevor Parscal <tparscal@users.mediawiki.org>
Thu, 16 Jul 2009 18:11:51 +0000 (18:11 +0000)
skins/vector/main-ltr.css
skins/vector/main-rtl.css

index 9252ddb..d7a30d7 100644 (file)
@@ -310,6 +310,7 @@ div#head h5 {
                width: 10em;
                background-color: transparent;
        }
+       /* OVERRIDDEN BY COMPLIANT BROWSERS */
        div#p-search div#simpleSearch input#searchButton {
                position: absolute;
                top: 0;
@@ -317,7 +318,7 @@ div#head h5 {
                margin: 0;
                padding: 0;
                width: 1.75em;
-               height: 100%;
+               height: 2em;
                border: none;
                cursor: pointer;
                background-color: transparent;
@@ -325,6 +326,10 @@ div#head h5 {
                background-position: center center;
                background-repeat: no-repeat;
        }
+       /* IGNORED BY IE6 */
+       div#p-search div#simpleSearch > input#searchButton {
+               height: 100%;
+       }
 /* Panel */
 div#panel {
        position: absolute;
index 472b51f..fc09c12 100644 (file)
@@ -310,6 +310,7 @@ div#head h5 {
                width: 10em;
                background-color: transparent;
        }
+       /* OVERRIDDEN BY COMPLIANT BROWSERS */
        div#p-search div#simpleSearch input#searchButton {
                position: absolute;
                top: 0;
@@ -317,7 +318,7 @@ div#head h5 {
                margin: 0;
                padding: 0;
                width: 1.75em;
-               height: 100%;
+               height: 2em;
                border: none;
                cursor: pointer;
                background-color: transparent;
@@ -325,6 +326,10 @@ div#head h5 {
                background-position: center center;
                background-repeat: no-repeat;
        }
+       /* IGNORED BY IE6 */
+       div#p-search div#simpleSearch > input#searchButton {
+               height: 100%;
+       }
 /* Panel */
 div#panel {
        position: absolute;