IE9 border-radius shorthand not supported?

前端 未结 8 1956
半阙折子戏
半阙折子戏 2021-02-14 17:50

I have a few things I\'ve made in the past that have the border-radius attribute like this:

border-radius: 7px;

This is not working in IE9. I t

相关标签:
8条回答
  • 2021-02-14 18:48

    If you are using VMWare Fusion on a Mac, it could be an issue with the VM. See IE9 Rendering elements with opacity, border-radius or cufon

    0 讨论(0)
  • 2021-02-14 18:50

    IE9 does support border radius, even shorthand. I'm not sure why it doesn't work on your website, but it is supported.

    (See http://jsfiddle.net/wJd2h/ for proof)

    IE9 also supports :last-child.

    Maybe you are using an old HTML doctype?

    EDIT: I looked at your source. Change <meta http-equiv="X-UA-Compatible" content="IE=8" /> to <meta http-equiv="X-UA-Compatible" content="IE=9" />

    0 讨论(0)
提交回复
热议问题