Not signed in (Sign In)

SkillShare - A place to discuss Web Standards and Web Design topics

Categories

Vanilla 1.1.9 is a product of Lussumo. More Information: Documentation, Community Support.

    • CommentAuthorArun
    • CommentTimeDec 28th 2005 edited
     permalink

    Using Attributes in css is good or not.

    eg: img[src="small.gif"] { border: 1px solid #ccc; }

    This is not working in IE. Is this good to use when i am creating a design ? Any suggestions ?

    • CommentAuthorGustavs
    • CommentTimeDec 28th 2005
     permalink
    Hmm, I once wished this one too. Didn't find anything. Maybe some one have came up with a hack for IE?
    Thankful People: jpmartin
    • CommentAuthoryatil
    • CommentTimeDec 28th 2005
     permalink
    It isn't possible to use the []-selectors with IE. However there may be a workaround to use javascript.
    •  
      CommentAuthorJohnRiv
    • CommentTimeDec 28th 2005
     permalink
    yatil is correct... Dean Edwards's IE7 JavaScript adds attribute selector functionality to IE (http://dean.edwards.name/IE7/)

    The actual IE7 browser will support attribute selectors (http://blogs.msdn.com/ie/archive/2005/07/29/445242.aspx)
    • CommentAuthorArun
    • CommentTimeDec 30th 2005 edited
     permalink
    Thanks guys.
    • CommentAuthorjpmartin
    • CommentTimeDec 23rd 2009
     permalink
    Hi, I've been trying to get around this for some time. I just finished designing my site http://www.jpmartin.com/ - however when rendering in IE browsers, the menu drops below logo! It works perfectly fine in Firefox (macosx, windows) and Opera. Appreciate anyones critical analysis of what I did wrong!
Add your comments
    Username Password
  • Format comments as (Help)