This is a discussion on "[SOLVED] CSS Background Repeat" within the Web Page Design section. This forum, and the thread "[SOLVED] CSS Background Repeat are both part of the Design Your Website category.
|
|
|
|
|
![]() |
||
[SOLVED] CSS Background Repeat
|
||
| Notices |
![]() |
|
|
LinkBack | Thread Tools |
|
#1
|
|||
|
|||
|
[SOLVED] CSS Background Repeat
Hi,
I am having some trouble with setting a background image to repeat-y. My code is (div on page):
![]() 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 Blog Entry: Windows Vista vs. Mac Leopard (Nov 4th, 2007)
Last edited by Stuart; Sep 29th, 2007 at 12:35. |
|
|
|
#2
|
||||
|
||||
|
Re: CSS Background Repeat
try setting it out in longhand.
background-color: #frddffd; background-reapeat: repeat-y; etc...
Last Blog Entry: 3D Chess in your browser! (Mar 14th, 2008)
|
|
#3
|
|||
|
|||
|
Re: CSS Background Repeat
Thanks Alexgeek,
I'll try that...
Last Blog Entry: Windows Vista vs. Mac Leopard (Nov 4th, 2007)
|
|
#4
|
|||
|
|||
|
Re: CSS Background Repeat
Hi,
I tried the longhand. It didn't work... Take a look: ![]() Please reply, SWagner
Last Blog Entry: Windows Vista vs. Mac Leopard (Nov 4th, 2007)
|
|
#5
|
||||
|
||||
|
Re: CSS Background Repeat
could you host this on freewebs or something please
Last Blog Entry: 3D Chess in your browser! (Mar 14th, 2008)
|
|
#6
|
|||
|
|||
|
Re: CSS Background Repeat
You could try this?
|
|
#7
|
|||
|
|||
|
Re: CSS Background Repeat
Sorry... again, didn't do it.
Back to the beginning: ![]()
Last Blog Entry: Windows Vista vs. Mac Leopard (Nov 4th, 2007)
|
|
#8
|
|||
|
|||
|
Re: CSS Background Repeat
Here is my complete code:
Last Blog Entry: Windows Vista vs. Mac Leopard (Nov 4th, 2007)
|
|
#9
|
||||
|
||||
|
Re: CSS Background Repeat
Make a freewebs account and host all your files on there
Last Blog Entry: 3D Chess in your browser! (Mar 14th, 2008)
|
|
#10
|
|||
|
|||
|
Re: CSS Background Repeat
Will that help?
I already have something similar.
Last Blog Entry: Windows Vista vs. Mac Leopard (Nov 4th, 2007)
|
|
#11
|
|||
|
|||
|
Re: CSS Background Repeat
It's just so we can have a link to the page. It helps a lot.
But back to the problem.... Have you cleared your divs properly? IE usually does it for you so that may be why it's only working in that browser. Have some thing like this on your footer (or last) div.
|
|
#12
|
|||
|
|||
|
Re: CSS Background Repeat
Blake, thanks for the tip, but it does not seem to be doing anything...
Last Blog Entry: Windows Vista vs. Mac Leopard (Nov 4th, 2007)
|
|
#13
|
|||
|
|||
|
Re: CSS Background Repeat
hmmmm.... Can we have a link please?
I'm really not sure what it is. Are you sure all HTML and CSS is valid? |
|
#14
|
|||
|
|||
|
Re: CSS Background Repeat
Here is the link:
Go there
Last Blog Entry: Windows Vista vs. Mac Leopard (Nov 4th, 2007)
|
|
#15
|
|||
|
|||
|
Re: CSS Background Repeat
Right... well you have to validate your code!
(http://validator.w3.org/check?verbos...lab%2Ftemp.htm) There is a line of invalid code right on the problem area
|
|
#16
|
|||
|
|||
|
Re: CSS Background Repeat
I have validated all html and css - no errors whatsoever...
I changed it to &
Last Blog Entry: Windows Vista vs. Mac Leopard (Nov 4th, 2007)
|
|
#17
|
|||
|
|||
|
Re: CSS Background Repeat
No... you have 5 HTML errors. Check the link.
I even gave you one error and a fix. Also you could try this:
Last edited by Blake121; Sep 29th, 2007 at 14:03. |
|
#18
|
|||
|
|||
|
Re: CSS Background Repeat
All clear - successfully validated!
However, no change in appearance (Firefox)
Last Blog Entry: Windows Vista vs. Mac Leopard (Nov 4th, 2007)
Last edited by Stuart; Sep 29th, 2007 at 14:14. |
|
#19
|
|||
|
|||
|
Re: CSS Background Repeat
Hmmm... I'm not sure then. I'm better off with PHP to be honest lol.
Try these, but if they don't work I know one of our CSS experts will be able to help you. They should be on soon.
http://www.alistapart.com/articles/fauxcolumns/ http://www.ilovejackdaniels.com/css/...iquid-layouts/ http://webdesign.about.com/od/freewe...bl2colfaux.htm Last edited by Blake121; Sep 29th, 2007 at 14:22. |