From 8c302fac725a1db82756bd9288494adcd97ddcd3 Mon Sep 17 00:00:00 2001 From: "rods%netscape.com" Date: Fri, 11 Feb 2000 15:18:02 +0000 Subject: [PATCH] minor changes to html.css to remove some bad padding value for mulitple selects b 27236 r=dcone --- layout/html/document/src/html.css | 26 ++------------------------ layout/style/html.css | 26 ++------------------------ 2 files changed, 4 insertions(+), 48 deletions(-) diff --git a/layout/html/document/src/html.css b/layout/html/document/src/html.css index 10b15a233f77..be198db7f1fb 100644 --- a/layout/html/document/src/html.css +++ b/layout/html/document/src/html.css @@ -986,15 +986,6 @@ select[size][disabled] { border: 2px inset rgb(153, 153, 153); } -select[multiple] { - background-color: white; - border: 2px inset rgb(153, 153, 153); - padding-left: 0px; - padding-top: 0px; - padding-right: 3px; - padding-bottom: 0px; -} - select[multiple][disabled] { background-color:rgb(204, 204, 204); border: 2px inset rgb(153, 153, 153); @@ -1005,15 +996,6 @@ select[disabled] { border: 2px inset rgb(153, 153, 153); } -select[multiple][size="1"] { - background-color: white; - border: 2px inset rgb(153, 153, 153); - padding-left: 0px; - padding-top: 0px; - padding-right: 3px; - padding-bottom: 0px; -} - /* combobox button */ select > input[type="button"] { white-space:nowrap; @@ -1099,14 +1081,14 @@ option[label]:before { content:attr(label); } -select[size] > option { +select[size] option { padding-left: 3px; padding-top: 0px; padding-right: 11px; padding-bottom: 0px; } -select > option, select[size="1"] > option { +select option, select[size="1"] option { padding-left: 3px; padding-top: 0px; padding-right: 5px; @@ -1226,10 +1208,6 @@ select:focus, select[size="1"]:focus { select[multiple]:focus { border: 2px dotted rgb(128,128,128); - padding-left: 0px; - padding-top: 0px; - padding-right: 3px; - padding-bottom: 0px; } select:focus > input#-moz-display { diff --git a/layout/style/html.css b/layout/style/html.css index 10b15a233f77..be198db7f1fb 100644 --- a/layout/style/html.css +++ b/layout/style/html.css @@ -986,15 +986,6 @@ select[size][disabled] { border: 2px inset rgb(153, 153, 153); } -select[multiple] { - background-color: white; - border: 2px inset rgb(153, 153, 153); - padding-left: 0px; - padding-top: 0px; - padding-right: 3px; - padding-bottom: 0px; -} - select[multiple][disabled] { background-color:rgb(204, 204, 204); border: 2px inset rgb(153, 153, 153); @@ -1005,15 +996,6 @@ select[disabled] { border: 2px inset rgb(153, 153, 153); } -select[multiple][size="1"] { - background-color: white; - border: 2px inset rgb(153, 153, 153); - padding-left: 0px; - padding-top: 0px; - padding-right: 3px; - padding-bottom: 0px; -} - /* combobox button */ select > input[type="button"] { white-space:nowrap; @@ -1099,14 +1081,14 @@ option[label]:before { content:attr(label); } -select[size] > option { +select[size] option { padding-left: 3px; padding-top: 0px; padding-right: 11px; padding-bottom: 0px; } -select > option, select[size="1"] > option { +select option, select[size="1"] option { padding-left: 3px; padding-top: 0px; padding-right: 5px; @@ -1226,10 +1208,6 @@ select:focus, select[size="1"]:focus { select[multiple]:focus { border: 2px dotted rgb(128,128,128); - padding-left: 0px; - padding-top: 0px; - padding-right: 3px; - padding-bottom: 0px; } select:focus > input#-moz-display {