PDA

View Full Version : Form styles that work in NS, Mozilla.. ?


Richard
02-20-2003, 09:41 PM
<input type="submit" value="Go" name="B1" style="font-family=verdana; font-size=10; color=#000000; border-style=solid; border-width=1; background-color=#FFFFFF; border-highlight-width=1">

This works in IE, but not NS or Mozilla. Is there a different kind of style thing that will work in those browsers ?

Catman
02-20-2003, 09:57 PM
<input type="submit" value="Go" name="B1" style="font-family:Verdana; font-size:10pt; color:#000000; border-style:solid; border-width:1px; background-color:#ffffff; border-highlight-width:1px">

Roy Sinclair
02-21-2003, 07:12 PM
In case it's not obvious to you, the syntax for your style sheet is wrong, you have equal signs where you should have colons. IE is defective in that it accepts such bad syntax and makes you think theres a problem with other browsers when the truth is that the syntax is just plain wrong. Without IE's "help" you'd have probably figured out the problem yourself rather quickly.