I’m trying to get rounded corners to work in IE and am having a heck of a time. My current status is this:
I have the following in my CSS:
[CODE]
.roundedcontainedbar {
width:250px;
position:relative;
left:50px;
top:0px;
border:1px solid #666;
background:#999;
-moz-border-radius:10px 10px 0px 0px;
-webkit-border-radius:10px 10px 0px 0px;
border-radius:10px 10px 0px 0px;
behavior:url(/includes/border-radius.htc);
}
With it like that, the content of:
[CODE]
<div class=”roundedcontainedbar”>
Div 1<br>
Div 1
</div>
is visible, but the box itself is not.
If I take out the position, left, and top lines, it appears! (That is, if I’m emulating IE7.) But then the whole box is rounded and not just the top corners. (Also, that prevents me from using relative positioning.)
Any ideas on what I can do to make top-corners-only rounding work in IE, and let me use positioning?
Thanks for any feedback.
Liam