954,598 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Have something to say? Contribute New Article Reply to this Article

stop html background image cutting off at lower resolutions

Hello,

I am creating a new site and I have run into a problem with adding a background image to the html tag.

The image has repeat-x and is positioned top and right. The problem is that though it looks great on 1024 wide resolutions it goes balls up when the resolution is reduced. A large wad of whitespace appears to the right and the image moves left into the rest of the page.
I solved this by adding a min-width to the body and html tags but this stopped the wrapper div from moving left to fill the whole screen on lower resolutions.

Any solutions? Even using javascript instead of css would make me a happy man to be honest here...

The url is http://musicultra.com/test/test.html
Thanks
Dan

dantheman50_98
Newbie Poster
20 posts since Aug 2008
Reputation Points: 10
Solved Threads: 0
 

Thanks,
It looks like I will be rebuilding it in order to get the yellow background working properly though.

dantheman50_98
Newbie Poster
20 posts since Aug 2008
Reputation Points: 10
Solved Threads: 0
 

I tested it myself and it worked regardless of the resolution. What browser did this occur in?

death_oclock
Posting Whiz
393 posts since Apr 2006
Reputation Points: 129
Solved Threads: 45
 

This was in Firefox 3. I have just checked in Internet explorer 7 and it looks even worse.

dantheman50_98
Newbie Poster
20 posts since Aug 2008
Reputation Points: 10
Solved Threads: 0
 

When you use repeat, it will not load the next repetition unless the entire image will fit again. But I don't see your trouble. I see scrollbars appearing to scroll the page, rather than changes in the page.

Which image is repeated? I can't tell this without the stylesheet..

MidiMagic
Nearly a Senior Poster
3,319 posts since Jan 2007
Reputation Points: 730
Solved Threads: 182
 

This article has been dead for over three months

Post: Markdown Syntax: Formatting Help
You