PDA

View Full Version : CSS form field height in IE7 not working


davidj
02-08-2008, 10:15 AM
guys

i have the following CSS style which is formatting a form field


.form-field-5 {

font-family: Geneva, Arial, Helvetica, sans-serif;
font-size: 10px;
color: #333333;
height: 18px;
width: 100px;

}



<input name="username" type="text" class="form-field-5" id="username" />

but the height of the field is unchanged in IE7 and is ignoring that setting (only the height is ignored)

whats going on

domedia
02-08-2008, 01:28 PM
IE7 render height on input fields just fine. I even copied and pasted you code into an empty HTML document to verify. It's possible that it's something in the context that is doing this. Can you either post all the HTML/CSS or put live somehwere?