How can I get css3 border-image working in IE9?

一个人想着一个人 提交于 2019-12-07 05:45:59

问题


I'm using border-image which works in all browsers except IE. For IE versions 7 and 8, I have css3pie which makes it work. But I haven't been able to find any plugin to make it work in IE9. Is there a way I can hack it so it works in IE9 as well?


回答1:


I found some static about PIE attempting to add it, but having some issue. They might be able to get it in the near future, though.

Until then, you have two options:

  1. Allow IE to degrade gracefully. This is not a bad thing, as designs don't have to look the same in all browsers. However, since you already have IE8 and below working, it might be counterproductive to degrade in a newer browser (though, theoretically, you could just nix all IE for the time being). This also depends on what your border image looks like (you might be able to get away with a subtle border, such as a two-toned one, but not a more intricate one).

  2. Use a workaround, such as this hackish one, or possibly the .htc file in this question (or even the hackish workaround answer).



来源:https://stackoverflow.com/questions/5828795/how-can-i-get-css3-border-image-working-in-ie9

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!