Here is a link to my page: here. I am having trouble getting two images to fit into the gray box in the middle. Below is my HTML code:
<div class="top_center_image">
<div class="left_image">
</div>
<div class="right_image">
</div>
</div>
And here is my CSS code:
.top_center_image{
background: url("../image/TopBox.png") no-repeat;
height: 179px;
margin-left: 5px;
width: 649px;
}
.left_image{
background: url('../image/DwightWorldVideoleft.png') top left no-repeat;
width: 296px;
height:152px;
margin-left:11px;
float:left;
}
.right_image{
background: url("../image/AMWimage.png") no-repeat scroll left top transparent;
height: 152px;
margin-left: 11px;
width: 311px;
float:right;
}
Can anyone suggest an easier and better way to align these images? Thank you in advance.