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 4 of 4
  1. #1
    New to the CF scene
    Join Date
    Sep 2007
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Unhappy IE7/ FF2 CSS problem

    Hi all,

    If anyone is kind enough, do let me know what have I done wrong here.

    http://www.streambuild.com/demo

    Problem: Sidebar doesnt align properly in IE, but in FF/

    I've tried using child selector solution to separate the margin types, but they still display together.
    Code:
    #sidebar { margin:18px 0 0 10px; }
    html> body #sidebar { margin: 0 0 0 10px;}
    Also tried the underscore hack but it doesnt work, anyone can feed me with the right direction?

  • #2
    Regular Coder
    Join Date
    Jun 2004
    Posts
    495
    Thanks
    0
    Thanked 82 Times in 80 Posts
    The negative margin in #subscribe_widget

  • #3
    New to the CF scene
    Join Date
    Sep 2007
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts
    What's with that? How can I fix this then? Sorry to trouble.

  • #4
    Regular Coder
    Join Date
    Jun 2004
    Posts
    495
    Thanks
    0
    Thanked 82 Times in 80 Posts
    Change to zero:
    Code:
    #subscribe_widget { background: #fff url("images/subscribebg.gif") top right no-repeat; margin:-15px 0px 0px -10px; padding: 5px; width:270px; font-size: 11px;}


  •  

    Posting Permissions

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