Ok.. I’m very new at XHML & CSS and I got stuck here so maybe someone can help me out.
I’m trying to place the shadow effect of the orange bar in a separate <div>. The way I did it works with Firefox but not with IE as you can see in the pics. IE creates a gap under the shadow graphic inside that div.
This is the code I’m using:
THE CSS
#shadow {
background: #fff url(images/bg-shadow-bottom.gif) no-repeat 0px -0px;
height: 8px;
}
#leftcolumn {
float: left;
color: #333;
margin: 0px 0px 0px 0px;
padding: 10px;
height: 350px;
width: 370px;
background: #fff url(images/bg-fade.gif) repeat-x;
}
#rightcolumn {
float: right;
color: #333;
margin: 0px 0px 0px 0px;
padding: 10px;
height: 350px;
width: 350px;
display: inline;
background: #fff url(images/bg-fade.gif) repeat-x;
}
THE HTML
<!-- Begin Shadow -->
<div id="shadow">
</div>
<!-- End Shadow -->
<!-- Begin Left Column -->
<div id="leftcolumn">
Left Column
</div>
<!-- End Left Column -->
<!-- Begin Right Column -->
<div id="rightcolumn">
Right Column
</div>
<!-- End Right Column -->Thanks.