![]() |
Background image not showing in Firefox, but looks ok in IE
Hi there, this is my first post to this forum.
I hope someone here can help me with this little problem. My homepage looks ok in Internet Explorer, but looks goofy in Firefox 3, problem is I added an background image in Skin1.css, looking like this: } HTML,BODY { HEIGHT: 100%; MARGIN: 0px; PADDING: 0px; BACKGROUND-COLOR: #000000 } BODY {background: url(images/homepage01.jpg); } The idea is that the image is to show over the whole page like it does in IE, but when using Firefox, it only shows the background image halfway over the pages. Anyone plz help. Thnx VWD |
Re: Background image not showing in Firefox, but looks ok in IE
Quote:
Try use this code: PHP Code:
If that does not help, give a link to your site. |
Re: Background image not showing in Firefox, but looks ok in IE
|
Re: Background image not showing in Firefox, but looks ok in IE
You need to tell the background to repeat:
background-repeat: repeat-y; |
Re: Background image not showing in Firefox, but looks ok in IE
Thank you very much Balinor, it solved my problem :-)
|
Re: Background image not showing in Firefox, but looks ok in IE
Quote:
I would have done so (without background repeat): PHP Code:
|
Re: Background image not showing in Firefox, but looks ok in IE
Thanks to both of you, it works either way.
But If I put the code underneath the image, it doesn╢t work. //Working code } HTML,BODY { HEIGHT: 100%; MARGIN: 0px; PADDING: 0px; BACKGROUND-COLOR: #FFFFFF background-repeat: no-repeat; // or background-repeat: repeat-y; } BODY {background: url(images/homepage01.jpg); } FORM { MARGIN: 0px; } |
Re: Background image not showing in Firefox, but looks ok in IE
Quote:
!!!!!!!!!!!!!!!!! BACKGROUND-COLOR: #FFFFFF; background-image: url(images/homepage01.jpg); |
Re: Background image not showing in Firefox, but looks ok in IE
Ok, thank you, tried it, but for some reason doesn╢t work for me, firefox looks funny when I add -image to background. So I╢m sticking with the code I have already. Thank you for your help, we can close this thread now.
|
All times are GMT -8. The time now is 03:53 PM. |
Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.