Skip to content
View in the app

A better way to browse. Learn more.

Web Designer Forum

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Background Image not reapeating/showing when scrolling?

Featured Replies

Hi there,

 

I have the same problem on my sites as lynda.com for example. Go to lynda.com and make your window say 300px wide and use the scroll bar at the bottom to move left and right across the page, the background to the yellow search bar and some other backgrounds dont show.

 

Please see attached file for a screenshot of the problem.

 

How can I fix this show it does show when scrolled?

 

On such div's I am using

 

background:url(....jpg) repeat-x;

 

etc.

 

Thanks

post-27754-0-67855800-1316423628_thumb.jpg

I was just about to post the same question... I hope we'll get an answer..

A rough guess here, but looks like it's possibly a float issue

The black and yellow <div> om Lynda.com uses the following CSS

 

#fat-footer { 
   width: 100%;  
   background-color: #000;  
   margin-bottom: 0;  
   padding-bottom: 0;	 
   text-align: left;
border-top: 34px solid #FFBA00; 
clear: both;
margin-top:34px;
}

 

The site is based on a 960px grid layout.

 

Setting width:100%; means the browser will render to 100% of the browser window width. If the window is less than the 960px width there will be a blank area when you scroll horizontally. Try this:

 

#fat-footer { 
   width: 100%;
   min-width:960px;  
   background-color: #000;  
   margin-bottom: 0;  
   padding-bottom: 0;	 
   text-align: left;
border-top: 34px solid #FFBA00; 
clear: both;
margin-top:34px;
}

 

Setting width:100%; means the browser will render to 100% of the browser window width. If the window is less than the 960px width there will be a blank area when you scroll horizontally. Try this:

 

#fat-footer { 
   width: 100%;
   min-width:960px;  
   background-color: #000;  
   margin-bottom: 0;  
   padding-bottom: 0;	 
   text-align: left;
border-top: 34px solid #FFBA00; 
clear: both;
margin-top:34px;
}

 

So simple, it works!

Thanks a lot

Create an account or sign in to comment

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.