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 to the CF scene
    Join Date
    Aug 2010
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Angry Background image displays fine in IE but is not positioned correctly in FF

    I am very new to CSS and I can't figure out why one of the background images for my site looks fine in IE but it doesn't display correctly in FF. I've looked at a number of threads, but none of those suggestions are correcting my problem.

    Here's the CSS code referencing the background image:

    Code:
    .topSlideAndBanner{ background-image:url('images/slideContainerBg.png'); width:975px; height:327px; background-repeat:repeat-x; }
    
    .topSlideAndBanner2{ background-image:url('images/slideContainerBg2.jpg'); width:975px; height:77px; background-repeat:repeat-x; }
    
    .slideNadd{ padding:10px 10px 10px 8px;}
    
    .slideContainer{ width:auto; height:auto; float:left;}
    .bannerContainer{ width:auto; height:250px; padding:8px 0 0 10px ;}
    Here's the link to the website, http://calanmorningshow.com

  • #2
    Supreme Master coder! abduraooft's Avatar
    Join Date
    Mar 2007
    Location
    N/A
    Posts
    14,852
    Thanks
    160
    Thanked 2,223 Times in 2,210 Posts
    Blog Entries
    1
    It might be a good idea to validate and fix the errors in your markup, see http://validator.w3.org/check?verbos...ingshow.com%2F
    The Dream is not what you see in sleep; Dream is the thing which doesn't let you sleep. --(Dr. APJ. Abdul Kalam)

  • #3
    New Coder
    Join Date
    Aug 2010
    Posts
    19
    Thanks
    0
    Thanked 4 Times in 4 Posts
    If you want everything left aligned, which the majority of the site is... you can edit your css to replace the .mainPageContainer div to have the margin left to be 0 instead of auto

    Code:
    .mainPageContainer{margin-left: 0;}


  •  

    Tags for this Thread

    Posting Permissions

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