View Single Post
  #1 (permalink)  
Old Sep 29th, 2007, 12:20
Stuart Stuart is offline
Highly Reputable Member
Join Date: Sep 2007
Age: 15
Posts: 717
Blog Entries: 1
Thanks: 0
Thanked 0 Times in 0 Posts
[SOLVED] CSS Background Repeat

Hi,

I am having some trouble with setting a background image to repeat-y. My code is (div on page):
Code: Select all
background: #f0eee4 url(sectionnav_bg.gif) repeat-y center;
The background image looks like this:

Here is a modified version to see it better:

Blue is really white, Gray is really a spacer.

The correct result in Internet Explorer is a white bar below the navigation (top left) that continues to the end of the page:


But then comes my problem - Firefox and Safari...
What is a white bar in IE is a gray empty field in Firefox and Safari:



I have yet to figure out what is causing this. If anyone can help me out, it would be greatly appreciated.

Thanks,
SWagner

Last edited by Stuart; Sep 29th, 2007 at 12:35.