Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
  1. #1
    Regular Coder
    Join Date
    Sep 2007
    Posts
    137
    Thanks
    1
    Thanked 0 Times in 0 Posts

    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

  • #2
    Supreme Master coder! abduraooft's Avatar
    Join Date
    Mar 2007
    Location
    N/A
    Posts
    14,852
    Thanks
    160
    Thanked 2,223 Times in 2,210 Posts
    Blog Entries
    1
    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
    The Dream is not what you see in sleep; Dream is the thing which doesn't let you sleep. --(Dr. APJ. Abdul Kalam)


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •