Hi
I have this problem when using a background-image of a certain
height 8px to be exact. IE 6 add extra spacing at the bottom, whereas firefox it is fine. This leaves a gap between the top and bottom image;
here is my code:
#displayHeaderTop{float:left; width:746px;}
#greywhiteborderLeft{float:left; width:8px; height:8px; background:url(player/i/whitegrey_cornerleft.gif) no-repeat top left;}
#greywhiteborderMiddle{float:left; width:92px; height:8px; background:url(player/i/whitegrey_top_center.gif) repeat-x top left;}
#greywhiteborderRight{float:left; width:8px; height:8px; background:url(player/i/whitegrey_top_right.gif) no-repeat top left; padding-right:10px;}
<div id="displayHeaderTop">
<div id="greywhiteborderLeft"></div><div id="greywhiteborderMiddle"></div><div id="greywhiteborderRight"></div>
can anyone help
I have this problem when using a background-image of a certain
height 8px to be exact. IE 6 add extra spacing at the bottom, whereas firefox it is fine. This leaves a gap between the top and bottom image;
here is my code:
#displayHeaderTop{float:left; width:746px;}
#greywhiteborderLeft{float:left; width:8px; height:8px; background:url(player/i/whitegrey_cornerleft.gif) no-repeat top left;}
#greywhiteborderMiddle{float:left; width:92px; height:8px; background:url(player/i/whitegrey_top_center.gif) repeat-x top left;}
#greywhiteborderRight{float:left; width:8px; height:8px; background:url(player/i/whitegrey_top_right.gif) no-repeat top left; padding-right:10px;}
<div id="displayHeaderTop">
<div id="greywhiteborderLeft"></div><div id="greywhiteborderMiddle"></div><div id="greywhiteborderRight"></div>
can anyone help