2 replies [Last post]
trew
Offline
newbie
Last seen: 17 years 9 weeks ago
Joined: 2004-01-02
Posts: 6
Points: 0

Hi: does any body know why my <select> tag will not respect my CSS correctly? This is the page where im having the trouble: http://www.l8k.com.ar/id/temp/get-your-plan-temp.htm

As you see, on the other hand <input> tag shows fine. Til' now i had cheated and added a few extra pixels to the " .formbox select" width but when i tried it on mac it looked horrible. Anyway the cheat wouldn't work for the hight... so im in trouble...

The CSS im using for the form is this:

.boxform {
font-family: Verdana, Arial, Helvetica, sans-serif;
font-weight: bold;
font-size: 10px;
color: #666666;
}
.boxform select {
font-weight: normal;
font-size: 11px;
width: 215px;
height: 16px;
color: #333333;
}
.boxform input {
font-weight: normal;
font-size: 11px;
width: 215px;
height: 16px;
color: #333333;
}
.boxform textarea {
font-weight: normal;
font-size: 11px;
width: 215px;
height: 102px;
color: #333333;
}

Thank you! Tongue

mt
Offline
newbie
Last seen: 17 years 5 weeks ago
Joined: 2004-01-26
Posts: 2
Points: 0

im like this

INPUT.boxform
{
....
}

mt
Offline
newbie
Last seen: 17 years 5 weeks ago
Joined: 2004-01-26
Posts: 2
Points: 0

work version

.DataGrid_TD_A INPUT
{
PADDING-LEFT 20px;
PADDING-RIGHT 2px;
BACKGROUND #6b9aa5 url('a.gif') no-repeat fixed 2px center;
HEIGHT 20px;
width80;
border1px solid #50555a;
FONT-SIZE 10px;
CURSOR hand;
COLOR white;
FONT-FAMILY arial, tahoma;
}

select button style in the table row