IE7 seems to be incorrectly rendering this filler for rounded corners on this content box in my layout. Safari 3(Windows) and FF 2 render it correctly. I am unsure if it is because I am absolute positioning this content or not. The filler is not expanding to 100% in IE7.
The CSS:
#messagebox {
background: #cfcb3b url(gradient_msgbox.gif) repeat-x top left;
font-size: 12px;
font-weight: bold;
text-align: center;
border: 1px solid #999999;
border-top: 0;
border-bottom: 0;
padding: 10px 6px 6px 10px;
}
#messagebox_container {
position: absolute;
left: 350px;
top: 0px;
}
#messagebox_rdbtm {
background-image: url(msgbox_lbtm.gif);
background-position: bottom left;
background-repeat: no-repeat;
height:10px;
width:auto;
padding-right: 20px;
}
#messagebox_rdbtm > img {
width:10px;
height:10px;
position:absolute;
bottom:0;
right:0;
}
#messagebox_rdborder {
background: #cfcb3b;
margin:0px 10px 0px 10px;
border-bottom:1px solid #999999;
height: 9px;
min-height: 9px;
width:100%;
display: block;
}
The XHTML:
<div id="messagebox_container">
<div id="messagebox">
<img src="newpmicon.gif" alt="New Private Message" />
1 New private message.
<div style="font-size: 10px;font-weight:normal;">Close</div>
</div>
<div id="messagebox_rdbtm">
<div id="messagebox_rdborder"></div>
<img src="msgbox_rbtm.gif" alt="Rounded Corner" />
</div>
</div>
I have also attached a screen shot highlighting the problem.