Does IE 7 support the content pseudo-class?

Posted by zac on Stack Overflow See other posts from Stack Overflow or by zac
Published on 2010-04-15T21:09:54Z Indexed on 2010/04/15 21:13 UTC
Read the original article Hit count: 362

Filed under:
|

I am generating pipes in my list using pseudo-classes and it works fine except they are not being rendered in IE 7. The code looks like:

.brandLinks a:after {
margin: 0 4px;
content: "|";
}

.brandLinks a:last-child:after {
content: " "
}

Is this just something IE 7 does not do or is my code wonky?

© Stack Overflow or respective owner

Related posts about css

Related posts about internet-explorer