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 3 of 3
  1. #1
    New Coder
    Join Date
    Aug 2012
    Posts
    83
    Thanks
    4
    Thanked 0 Times in 0 Posts

    Problem with hiding an element in IE

    http://biostreamcompost.com

    At the bottom of the page, there is a link "Recommend To A Friend". There is a small envelope image above the text that I have hidden with css. For soem reason, only in IE, you can still see the image. Can someone help me figure out why, and how to hide it in IE?

    Thanks

  • #2
    Regular Coder
    Join Date
    Mar 2013
    Posts
    262
    Thanks
    4
    Thanked 67 Times in 67 Posts
    I don't know why you can't just take out the span, but I think the addthis widget is loading a CSS file (through JavaScript) that is changing the span's display into a block element.

    Change that...or take out the span...or override it by being more specific.

    Code:
    .at16nc.at300bs.at15nc.at15t_email.at16t_email {
    display: none;
    }
    Last edited by ttkim; 03-21-2013 at 11:46 PM.

  • #3
    New Coder
    Join Date
    Aug 2012
    Posts
    83
    Thanks
    4
    Thanked 0 Times in 0 Posts
    Quote Originally Posted by ttkim View Post
    I don't know why you can't just take out the span, but I think the addthis widget is loading a CSS file (through JavaScript) that is changing the span's display into a block element.

    Change that...or take out the span...or override it by being more specific.

    Code:
    .at16nc.at300bs.at15nc.at15t_email.at16t_email {
    display: none;
    }
    Excellent, thanks


  •  

    Posting Permissions

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