Seeking assistance with a UI issue involving CSS.
I have a div containing a background graphic (curved top edge image) causing issues. Inside this div are various other divs for headings and content.
The code functions in FireFox, but not in IE 6 and 7. I am trying to overlay another background graphic to the right of the main one, without success in IE6/7 - it does work in IE8 though.
The problem is visible here: In IE, the width of the curved red edge affects the content area width. The Firefox example (FF.jpg) displays correctly, with the content area at full width.
Markup:
<div class="RedCorner"></div>
<div class="header"></div>
<div class="tab-content">
CSS:
.RedCorner {
float: right;
background-image: url(/red_rounded.gif);
background-repeat: no-repeat;
margin-right: -25px;
margin-top: 1px;
width: 140px;
height: 40px;
}
Any advice or suggestions would be greatly appreciated. Thank you, James