greed83
02-27-2008, 12:10 AM
Hey all. Having issues with some css. I have a div that uses a background-image and i'm getting some mixed results in how it is displayed. Here is the code:
div#content {
border-top: #fea100 solid 20px;
background-image:url(../images/blank_portfolio.gif);
background-position:top left;
background-repeat:no-repeat;
background-color:#FFFFFF;
padding:1em 1.5em 0em 0px; /* bottom padding for footer */
z-index:0;
}
The issue is that firebox treats the bottom of the top border as the div edge for positioning, and internet explorer treats the edge as the top of the border. How can I use CSS to handle this discrepancy? I've done some Google searches and came up empty handed.
Cheers,
Graeme :confused:
div#content {
border-top: #fea100 solid 20px;
background-image:url(../images/blank_portfolio.gif);
background-position:top left;
background-repeat:no-repeat;
background-color:#FFFFFF;
padding:1em 1.5em 0em 0px; /* bottom padding for footer */
z-index:0;
}
The issue is that firebox treats the bottom of the top border as the div edge for positioning, and internet explorer treats the edge as the top of the border. How can I use CSS to handle this discrepancy? I've done some Google searches and came up empty handed.
Cheers,
Graeme :confused: