Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

netscape style and class

Status
Not open for further replies.

twcman

Programmer
Jun 28, 2001
284
US
I have a form where I use the following submit button
<form bla bla bla>
<input type=&quot;submit&quot; class=&quot;buttonclass&quot; style=&quot;width : 80px:&quot; value=&quot;Enter&quot;>
</form>

The class is on an external css page.
This works great in IE but in NN(4.7 i think) I get a small gray box with the type in it and then a rectangle under it that looks like my class button in IE. I can only click the gray button.

What am I forgeting or missing about NN?

The only dumb questions are the ones that are never asked
 
I think netscape 4.7 doesnt support CSS Suceess, thats the way you spell success!
Got a question? Ask IMOZRMY!
 
My correction:
NN4.x support CSS1, but not completely. Also, not every style attribute can be assign to any html element (not only in NN4).

In your particular case, twcman, NN4.x will not apply the style to a button. But it works in Netscape 6/Mozilla, and you can also add another style attributes, for example:
.buttonclass { background-color: green; color: red }

good luck
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top