SitePoint Sponsor

User Tag List

Results 1 to 5 of 5
  1. #1
    SitePoint Addict
    Join Date
    Apr 2003
    Location
    canada
    Posts
    213
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Page Background not showing up in IE

    Hi All,

    This should be a quick easy fix. Website that I just launched http://www.nightlightinteriors.com the page background shows up great in Firefox but does not show up at all in IE. I have checked using firebug but cant seem to see what is going on.
    Your Websites Your Way!!
    www.clhdesigns.com

  2. #2
    billycundiff{float:left;} silver trophybronze trophy RyanReese's Avatar
    Join Date
    Oct 2008
    Location
    Whiteford, Maryland, United States
    Posts
    13,708
    Mentioned
    7 Post(s)
    Tagged
    0 Thread(s)
    Hi, the problem is is that you need a space between ) and no-repeat here otherwise all of IE will ignore the rule
    Code:
    background:#35AADF url(../images/mid_bg.jpg)no-repeat;
    Always looking for web design/development work.
    http://www.CodeFundamentals.com

  3. #3
    SitePoint Wizard Stomme poes's Avatar
    Join Date
    Aug 2007
    Location
    Netherlands
    Posts
    10,283
    Mentioned
    51 Post(s)
    Tagged
    2 Thread(s)
    Hi capple...

    I think your problem might be really simple silly:

    Code:
    body {
    	margin: 0px auto;
    	font: 62.5% "Trebuchet MS", Arial, Helvetica, sans-serif; 
    	background:#35AADF url(../images/mid_bg.jpg)no-repeat;
    }
    I know of a weird IE bug: if there's no space between your background image declarations, then IE sometimes misses stuff.

    Specifically, I saw IE not working when someone had this:
    background:#fff url(foo.jpg)left center no-repeat;

    the lack of the space between ) and "left" was the only problem.

    See if it helps to add a space in there. It will be cool if that works.

    *edit Ryan totally ninja'd me... lawlz!

  4. #4
    SitePoint Addict
    Join Date
    Apr 2003
    Location
    canada
    Posts
    213
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    As I figured, something silly
    Thanks
    Your Websites Your Way!!
    www.clhdesigns.com

  5. #5
    billycundiff{float:left;} silver trophybronze trophy RyanReese's Avatar
    Join Date
    Oct 2008
    Location
    Whiteford, Maryland, United States
    Posts
    13,708
    Mentioned
    7 Post(s)
    Tagged
    0 Thread(s)
    You're welcome .
    Always looking for web design/development work.
    http://www.CodeFundamentals.com


Bookmarks

Posting Permissions

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