I have a div with a pretty curved background, so it has rounded corners in all browsers.
The problem is that in Internet Explorer, the background image is accompanied by a background color. If I set the height of the div, Firefox and Chrome will both reduce the height of the div, however IE will not adjust anything.
Here is my CSS. Note that the rest of CSS is applied in IE (and FF / Chrome).
#MSBottomSlot .topCurve {
background:url("images/topCurve.jpg");
background-repeat:no-repeat;
height:10px;
width:100%;
}
Is there some kind of IE 'gotcha' regarding the height that I am missing?
Here are some additional details:
- The string is not displayed in FF or Chrome.
- There's a little javascript on the page, nothing that would affect the way it does.
- Other changes to css will be applied to the div.
Peach source
share