March 2, 201016 yr Hi Guys, Quick question regarding the viewport. I'm viewing in Firefox on linux - don't have access to windows machine atm so can't check if this is the case on IE, Safari etc. I have created a site that's about 1000px wide. The footer has a very narrow, tall background gradient image with "repeat x" set in order to span the whole window. My browser window is sized narrower than 1000px (probably around 700px). When I load the page and use the scroll bars to scroll to the right to view the rest of the page, the background image is not shown - that part of the page is just white. This is a problem since the footer itself uses a dark background image with white text (i.e. white text on a white background won't show!). Does anyone have a solution to this problem? Thanks, Iain
March 2, 201016 yr Hi Guys, Quick question regarding the viewport. I'm viewing in Firefox on linux - don't have access to windows machine atm so can't check if this is the case on IE, Safari etc. I have created a site that's about 1000px wide. The footer has a very narrow, tall background gradient image with "repeat x" set in order to span the whole window. My browser window is sized narrower than 1000px (probably around 700px). When I load the page and use the scroll bars to scroll to the right to view the rest of the page, the background image is not shown - that part of the page is just white. This is a problem since the footer itself uses a dark background image with white text (i.e. white text on a white background won't show!). Does anyone have a solution to this problem? Thanks, Iain I had the same problem and had to use the min-width attribute to make sure the background kept going.
March 2, 201016 yr Author Awesome, thanks Darren! That is a pretty good solution for now - the only problem is that beyond the "min-width", between the footer and browser window, there is still a small "cut-off" area of white (probably around 10px). I can live with that for now though. Cheers, Iain
March 2, 201016 yr Author Have you got a link to the site Not yet, but I will post one soon when it's up.
Create an account or sign in to comment