The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums CSS Image with :after issue Re: Image with :after issue


Do this:

#nav li:after{
content : url(../images/bon-end.png);

If you want to specifically use the background property, you will have to set a width and height to the pseudo element the same way you’d have to set it on a normal element.