Click to See Complete Forum and Search --> : Changing button look


florida
01-09-2003, 03:37 AM
On a submit button is there anyway to change the button colors and get rid of the border background of the button? Basically change the Button "look"

<input type="button" value="Submit">

AdamGundry
01-09-2003, 04:14 AM
You can change the appearance of a button using CSS, i.e. in the tag like this:

<input type="button" style="property: whatever">

Useful properties include the following:

Background
Border
Font-family
Font-size


Adam

florida
01-09-2003, 09:50 AM
Thanks that works in IE but Netscape 4 it still doesnt change the colors or background. Any suggestions for Netscape 4?

AdamGundry
01-09-2003, 11:15 AM
It may be that Navigator 4 does not support CSS styles on input tags, because of its age. Try the page with newer versions of Navigator - there may be nothing you can do about it.

Anyone else have any ideas?

Adam

swon
01-09-2003, 11:21 AM
Yep, your're right, NS4 doesn't support this feature, but to have any identity with IE you should use the <input type=image src="somepicture"> for that.