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 5 of 5
  1. #1
    New Coder
    Join Date
    Feb 2008
    Posts
    95
    Thanks
    14
    Thanked 0 Times in 0 Posts

    :before css displays "none" in IE

    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:

    Code:
    div.mediaa ul li:before {
    	content: normal;
    	}
    and

    Code:
    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

  • #2
    Senior Coder
    Join Date
    Oct 2005
    Posts
    1,340
    Thanks
    0
    Thanked 61 Times in 60 Posts
    :before does not work in IE6 or IE7.

  • #3
    New Coder
    Join Date
    Feb 2008
    Posts
    95
    Thanks
    14
    Thanked 0 Times in 0 Posts
    I'm using a javascript file which makes it workin IE

  • #4
    The Apostate Apostropartheid's Avatar
    Join Date
    Oct 2007
    Posts
    3,215
    Thanks
    16
    Thanked 265 Times in 263 Posts
    You could try content: "";

  • Users who have thanked Apostropartheid for this post:

    Danaldinho (03-31-2009)

  • #5
    New Coder
    Join Date
    Feb 2008
    Posts
    95
    Thanks
    14
    Thanked 0 Times in 0 Posts
    Quote Originally Posted by CyanLight View Post
    You could try content: "";
    Thanks alot mate, it worked brilliant


  •  

    Posting Permissions

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