robindean
07-16-2007, 10:47 AM
Hello all,
I have a text input field which make use of the following css ...
input[type="text"] {
width: 185px;
height: 15px;
border: 0px;
padding: 4px 6px 4px 6px;
font-size: 12px;
font-family: verdana, arial, helvetica;
font-weight: bold;
color: #ddaa33;
background-color: transparent;
position: relative;
top: -2px;
left: -2px;
float: left;
}
For some reason, Safari and Shiira (both for mac) are displaying one extra pixel of padding that is causing me some design trouble.
Is there a missing property in my css code that could alleviate the problem for these two browsers?
I have a text input field which make use of the following css ...
input[type="text"] {
width: 185px;
height: 15px;
border: 0px;
padding: 4px 6px 4px 6px;
font-size: 12px;
font-family: verdana, arial, helvetica;
font-weight: bold;
color: #ddaa33;
background-color: transparent;
position: relative;
top: -2px;
left: -2px;
float: left;
}
For some reason, Safari and Shiira (both for mac) are displaying one extra pixel of padding that is causing me some design trouble.
Is there a missing property in my css code that could alleviate the problem for these two browsers?