mindlessLemming
01-15-2004, 01:24 AM
Hey all,
I must be missing something really obvious here because I'm going insane trying to get IE to display the background image of an empty div.
Here's my CSS, it works fine in Moz1.6
#compass{
height:174px;
width:173px;
background:url(images/compass.gif)no-repeat;
float:left;
margin-left:-86px;
margin-top:-85px;
}
But whenever I add any other definitions such as position:relative;display:block; it no longer works in Moz either.
I took too big of a break over Chistmas/New Years, had a bit too much fun and have now forgotten a hell of a lot of basic stuff.
Please Help:D
Cheers,
Andrew
I must be missing something really obvious here because I'm going insane trying to get IE to display the background image of an empty div.
Here's my CSS, it works fine in Moz1.6
#compass{
height:174px;
width:173px;
background:url(images/compass.gif)no-repeat;
float:left;
margin-left:-86px;
margin-top:-85px;
}
But whenever I add any other definitions such as position:relative;display:block; it no longer works in Moz either.
I took too big of a break over Chistmas/New Years, had a bit too much fun and have now forgotten a hell of a lot of basic stuff.
Please Help:D
Cheers,
Andrew