I have a div with border-width: 0px;
and border-radius: 5px;
(or -moz-border-radius
etc.).
In Chrome, Safari and Firefox this works very well, the div gets rounded corners, so it is transparent in the corners.
IE9 however, does not display the rounded corners (I checked, IE is really in "IE9 mode", I have a HTML5 doctype and set X-UA-Compatible
to IE=edge
). It only does if I add
border-style: solid;
border-width: 1px;
Can I get IE9 to render rounded corners without declaring an actual border?
overflow: hidden;
? – David Thomas