Jump to content
Stef's Coding Community

Recommended Posts

I am having a problem with my banner scrolling. The link is http://www.robertbonnerswebdesigns.com/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.

Link to post
Share on other sites

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.

Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...