Rounded corners not working in IE9

后端 未结 5 669
野趣味
野趣味 2021-01-13 19:07

As far as I am aware, IE9 should have CSS support for rounded corners. I have apparently coded my page in such a way as this does not occur in IE9 though - although it displ

相关标签:
5条回答
  • 2021-01-13 19:34

    Making the border radius compatible to IE browsers, follow these steps:

    1. Open Setting option in IE.
    2. Go to compatibility and view setting.
    3. Uncheck "Display intranet sites in Compatibility view " as well as uncheck "Use microsoft compatibility list".
    0 讨论(0)
  • 2021-01-13 19:38

    see this question regarding the meta tag and some other possible issues/process to eliminate: IE9 border-radius

    0 讨论(0)
  • 2021-01-13 19:39

    It's because you combine filter and border-radius for same element. Try to apply border-radius to one element, and filter to its child element instead.

    0 讨论(0)
  • 2021-01-13 19:39

    For IE9, you are correct it doesn't like the border radius and the filter combined. Here is what I followed and it worked perfectly in IE9, as well as all the other browsers.

    https://github.com/bfintal/jQuery.IE9Gradius.js

    Hope that helps!

    0 讨论(0)
  • 2021-01-13 19:42

    You only need to define one number for your border radius if you're using "bottom-left" and so on. By specifying two numbers IE9 may not interpret it correctly.

    If you use the following, the first number is the top-left, second is top-right, third is bottom-right, and fourth is bottom-left.

        -moz-border-radius: 8px 8px 0px 0px;
        -webkit-border-radius: 8px 8px 0px 0px;
        -0-border-radius: 8px 8px 0px 0px;
        border-radius: 8px 8px 0px 0px;
    
    0 讨论(0)
提交回复
热议问题