9. Width of a select element

This example explores the wonders of select box widths. It uses both the famous undocumented width attribute for form elements (supported in Netscape 4, not a legal attribute for forms, so this page will not validate), and a stylesheet that sets the width of both select and option to 40px.

Which of these two rules wins in your browser?

Back to the stylesheet example page.

© Matthias Gutfeldt, 2001. Steal the code, not the content.