View Single Post
  #2  
Old 06-26-2008, 04:54 AM
  Yurij's Avatar 
Yurij Yurij is offline
Banned
 

X-Adept
  
Join Date: Jan 2008
Posts: 486
 

Default Re: Background image not showing in Firefox, but looks ok in IE

Quote:
Originally Posted by VWD
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-image: url(images/homepage01.jpg);
background-position: top left;
}

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


Try use this code:

PHP Code:
HTMLBODY
{
    
HEIGHT100%;
    
MARGIN0px;
    
PADDING0px;
    
BACKGROUND-COLOR#000000;
               
}
BODY 
{
    
background-imageurl(images/homepage01.jpg);
    
background-positiontop left;


If that does not help, give a link to your site.
Reply With Quote