January 29, 201016 yr Hi, I am having a problem with a site I'm designing: http://holmeswestcott.co.uk/obai7%284%29.html I want a fullscreen background which resizes to fit the browser window. It works fine in Firefox and Safari but fails miserably (as expected) in Internet explorer. I have tried various solutions posted on the web but can't find one that works across all browsers. Is it an issue with the position:fixed property? Any help would greatly be appreciated. Thanks, Tim.
January 29, 201016 yr I noticed that in Firefox the yellow image yell.png with the text is up at the top, but down below the background in IE7. I added a doctype right at the top of your html file above the <html> tag and IE7 showed it all up at the top like Firefox. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> Here's another method for having a "background" image that resizes for any resolution (not a true background-image but it looks like one):- http://www.wickham43.net/backgroundfullwidthflexible.html
Create an account or sign in to comment