Entry
How can I change input box style for Netscape to make it flat? The same question for <select> box in both browsers.
How can I change input box style for Netscape to make it flat?
Feb 25th, 2003 04:22
Klaus Bolwin, Ben Gordon, Kiko, Michael K,
You can use CSS properties to get INPUTs flat on recent mozilla and
explorer versions. Use the 'border' shorthand:
border: 1px solid black
Please note that Netscape will display breakage using this property.
Workaround for me has been adding a // after the last CSS property for
the class, but Jesus Christ if that's the fix.
For those not familiar with CSS the proper syntax would be Embedded or
external style sheet like this input {border: 1px solid black;} or
if used inline like this style=" border: 1px solid black;"
For those not familiar with the proper CSS syntax:
input {border: 1px solid black;}
will be applied to all input-elements, however
input[type="text"] {border: 1px solid black;}
will be applied to text fields only