...

View Full Version : attribute selectors



sudhakararaog
12-04-2009, 02:55 AM
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

abduraooft
12-04-2009, 08:41 AM
does this mean that ie6 does not support attribute selectors and as an alternative a class has to be created for the submit button Exactly! :), see the side note at http://www.quirksmode.org/css/selector_attribute.html



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum