attribute selectors
Posted: 08 December 2009 12:08 AM   [ Ignore ]
Newbie
Rank
Total Posts:  10
Joined  2009-11-22

my question is about attribute selectors for ie 6

i have used the following code to style the submit button using attribute selector instead of using a separate class for the submit button

#row1 input[type=submit]{
width: 70px;
}

<input type=“submit” value=“Submit” />

this work in all browsers including ie7 only ie6 is not creating the submit button as per the style, does this mean that ie6 does not support attribute selectors and as an alternative a class has to be created for the submit button

please advice

thanks

Profile
 
 
Posted: 08 December 2009 05:57 AM   [ Ignore ]   [ # 1 ]
Newbie
Rank
Total Posts:  17
Joined  2009-12-08

Correct, they do not support it. But I managed to do a little digging and someone has found a way to replicate the css effect using a little bit of javascript. I’ve provided the link to the page below.
http://www.shayna.com/index.cfm?fuseaction=blog.display_entry&id=176

Profile