stop html background image cutting off at lower resolutions

Reply

Join Date: Aug 2008
Posts: 6
Reputation: dantheman50_98 is an unknown quantity at this point 
Solved Threads: 0
dantheman50_98 dantheman50_98 is offline Offline
Newbie Poster

stop html background image cutting off at lower resolutions

 
0
  #1
Mar 19th, 2009
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
Reply With Quote Quick reply to this message  
Join Date: Aug 2008
Posts: 6
Reputation: dantheman50_98 is an unknown quantity at this point 
Solved Threads: 0
dantheman50_98 dantheman50_98 is offline Offline
Newbie Poster

Re: stop html background image cutting off at lower resolutions

 
0
  #2
Mar 23rd, 2009
Thanks,
It looks like I will be rebuilding it in order to get the yellow background working properly though.
Reply With Quote Quick reply to this message  
Join Date: Apr 2006
Posts: 357
Reputation: death_oclock will become famous soon enough death_oclock will become famous soon enough 
Solved Threads: 37
death_oclock's Avatar
death_oclock death_oclock is offline Offline
Posting Whiz

Re: stop html background image cutting off at lower resolutions

 
0
  #3
Mar 23rd, 2009
I tested it myself and it worked regardless of the resolution. What browser did this occur in?
Reply With Quote Quick reply to this message  
Join Date: Aug 2008
Posts: 6
Reputation: dantheman50_98 is an unknown quantity at this point 
Solved Threads: 0
dantheman50_98 dantheman50_98 is offline Offline
Newbie Poster

Re: stop html background image cutting off at lower resolutions

 
0
  #4
Mar 24th, 2009
This was in Firefox 3. I have just checked in Internet explorer 7 and it looks even worse.
Reply With Quote Quick reply to this message  
Join Date: Jan 2007
Posts: 3,210
Reputation: MidiMagic has a spectacular aura about MidiMagic has a spectacular aura about 
Solved Threads: 165
MidiMagic's Avatar
MidiMagic MidiMagic is offline Offline
Nearly a Senior Poster

Re: stop html background image cutting off at lower resolutions

 
0
  #5
Mar 24th, 2009
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..
Daylight-saving time uses more gasoline
Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:



Other Threads in the HTML and CSS Forum
Thread Tools Search this Thread



About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC