NN 4 ignores the style, except for the "solid" value in the "border" property, which makes these stupid little boxes beneath each text box and submit/reset button:
Unfortunately, removing the "solid" value causes NN6 to display the submit/reset buttons as just gray boxes without any border.
Is there a simple solution to this that I've overlooked? I have come up with a rather bizzare and complicated workaround, but if there's an easier way, I'd like to know. If not, I'll post my "solution" here later.
I've run into the same problem with the text box borders. There are several Netscape 4 hacks listed at http://www.richinstyle.com/mastercla...html#netscape, and I suggest you look at those to see what would work best for your needs. However, based on what you want, I'll suggest a few of the hacks here:
[list=1][*]Use the backslash to hide from Netscape - P \{ {color: red; background: green} hides from Netscape [*]Use !important - Netscape ignores it; for example, P {color: red !important} P {color: blue} would apply blue in Netscape (and IE 3 (although for a different reason - IE 3 ignores the whole declaration (provided the property takes as its value a single identifier), Netscape just the !important bit)) and red in IE 4-5 and Opera [*]Have a line break between the ! and the important to hide the whole declaration from Netscape [/list=1]
While I haven't tested these hacks myself, I believe www.richinstyle.com, is one of the most thorough references on CSS available online.
Bookmarks