View Full Version : Background image works in IE but not in Firefox
ff123
05-02-2009, 12:06 PM
hey the problem is that Background image in body which is on seprate css file is working in IE but not in Firefox.. what is the solution?
Snookerman
05-02-2009, 12:34 PM
Please post a link to the page on your site or attach your code so we can check it out and help you.
ff123
05-02-2009, 12:57 PM
hey mate.. your coming to Melbourne? im in Melbounre... here is the code.
body {
background: url('bg.jpg') repeat-x top center;
background-color:#000000;
text-align:justify;
font-family:Verdana;
font-size:8pt;
}
forum_amnesiac
05-02-2009, 01:24 PM
Try it without the quotes
Snookerman
05-02-2009, 01:30 PM
Hopefully, if I get into the uni of Melbourne :D I'm applying to ANU as well.
Regarding your code, there's nothing wrong with it so that's not the problem. The most common issue when having a background in the body is that there is not enough content to fill it up. If you have an element inside the body, try giving it a height, say 500px. If you don't, add a div container with a height.
If it still doesn't work, please post the entire code, even the markup, or, if you can, a link to your site.
Good luck!
Powered by vBulletin® Version 4.2.2 Copyright © 2021 vBulletin Solutions, Inc. All rights reserved.