Go Back   CodingForums.com > :: Client side development > HTML & CSS

Before you post, read our: Rules & Posting Guidelines

Reply
 
Thread Tools Rate Thread
Enjoy an ad free experience by logging in. Not a member yet? Register.
Old 12-04-2009, 02:55 AM   PM User | #1
sudhakararaog
Regular Coder

 
Join Date: Sep 2007
Posts: 137
Thanks: 1
Thanked 0 Times in 0 Posts
sudhakararaog is an unknown quantity at this point
attribute selectors

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
sudhakararaog is offline   Reply With Quote
Old 12-04-2009, 08:41 AM   PM User | #2
abduraooft
Supreme Master coder!

 
abduraooft's Avatar
 
Join Date: Mar 2007
Location: N/A
Posts: 14,678
Thanks: 158
Thanked 2,182 Times in 2,169 Posts
abduraooft is just really niceabduraooft is just really niceabduraooft is just really niceabduraooft is just really niceabduraooft is just really nice
Quote:
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
__________________
Quote:
The Dream is not what you see in sleep; Dream is the thing which doesn't let you sleep. --(Dr. APJ. Abdul Kalam)
abduraooft is offline   Reply With Quote
Reply

Bookmarks

Jump To Top of Thread


Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 08:50 PM.


Advertisement
Log in to turn off these ads.