View Full Version : :before css displays "none" in IE

03-30-2009, 10:02 PM
Hey guys,

I use the ":before" in my css to display a "//" before my lists on my website.

But I use lists on my media page which can be seen here: http://www.lilwaynehq.com/media

Anyway I have done this in my css:

div.mediaa ul li:before {
content: normal;


div.mediaa ul li:before {
content: none;

As I don't want the "//" to show before my lists on the latest songs box.

Now in Firefox, IE6 and IE8 its all fine, but surprisingly it is incorrect in IE7.

It displays a "none" tag before the text on the lists on that latest songs box.

Does anyone know how I can fix this and remove the "none" in IE7.

Thanks and appreciate it :)

03-30-2009, 11:38 PM
:before does not work in IE6 or IE7.

03-30-2009, 11:42 PM
I'm using a javascript file which makes it workin IE :)

03-31-2009, 12:45 AM
You could try content: "";

03-31-2009, 01:45 PM
You could try content: "";

Thanks alot mate, it worked brilliant :thumbsup: