I am frustrated with CSS width on form elements.
Try the below html code snippet, both with and without DOCTYPE (first line).
You will find that when using doctype in the page, the input text box size and select drop down list width do not match (lineup)!
However, when the DOCTYPE (first line) is removed, the two input elements have the same width!
[codebox]<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR...401/loose.dtd">
<html> <body> <form>
<input style="width:6em" type="text" > <br>
<select style="width:6em" >
<option>abc</option>
<option>123</option>
</select>
</form> </body> </html>[/codebox]
This subtle difference has become a real thorn.










