Jump to content


Photo

banner scrolling


  • Please log in to reply
1 reply to this topic

#1 grabenair

grabenair

    Advanced Member

  • Member
  • PipPipPipPip
  • 361 posts
  • LocationIowa

Posted 15 May 2011 - 04:50 PM

I am having a problem with my banner scrolling. The link is http://www.robertbon.../bg_testing.htm
I have tried changing the position in my css. I have it set to 100% but it moves when I make my window small enough to have a horizontal scroll bar and reveals the background. I has to be something small thing that I am overlooking or maybe some css that I do not know.
I like to figger out things myself because I learn and remember better but this has me really lost.
This is a site that I building for my nephew he races dirtbikes as I do, just to get me more practice at my site building. I have only been doing this for a little over a year.
  • 0
Standards will change. But your website needs to remain in serving its audience.
My Portfolio site

#2 Ben

Ben

    Administrator

  • Administrators
  • 5,660 posts
  • LocationGainesville, Florida

Posted 15 May 2011 - 05:01 PM

One way around that would be to set the min-width on #banner:

min-width: 960px;

That way, the div will expand as usual, but will have a minimum width equal to the width of the content area on the website (960px.)

Just to be clear, however, this won't work on IE6, since it doesn't support the min-width property.
  • 0
Benjamin Falk
Falken Creative : Twitter




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users