IE9中带有半径的div背景
我有几个 div,其角点半径为 5 度,它们也有背景图像。
这在 Chrome 中工作正常,但在 IE9 中遇到问题。我得到的不是带有圆角的背景,而是带有黑色边框的白色框......尽管角是圆角的。
请参阅 http://www.thecocktailservice.co.uk/
页面下方有几个示例。 ..h2 靠近左边缘,表单位于页面底部,推荐框位于中间位置。
有什么想法为什么背景不显示吗?
I have several divs with a 5 degree radius applied to the corners, which also have a background image.
This works fine in Chrome, but I am having problems with them in IE9. Instead of getting the background with rounded corners, I get a white box with a black border...although the corners are rounded.
Please see http://www.thecocktailservice.co.uk/
There are several examples down the page...The h2's near the left edges, the form at the bottom of the page, and the testimonials box half way up.
Any ideas why the backgrounds aren't showing?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
当使用chrome检查此页面时,有几个错误和警告。
这些只是少数错误,可能需要研究纠正这些错误。
另外,
IE 中似乎没有显示该行的填充。如果没有足够大的区域来渲染图像,IE 可能只是将背景留空。
When using chrome to inspect this page, there are several errors and warnings.
These are just some of the few, might want to look into correcting those errors.
In addition, the padding from the line
does not seem to be showing up in IE. Without an area large enough to render the image, IE is probably just leaving the background blank.