options to solve browser compatibility issues?

梦想的初衷 提交于 2019-12-05 04:06:45

问题


I am designing a web application with css3. Every one knows that lot of css3 properties like gradients, border-radius, box-shadow, animate, border-image, background-rgb, last-child, nth-child etc.. will not work in earlier IE versions such as IE8,7,6. some of the java script libraries like css3 pie can be used to make Internet Explorer 6-9 capable of rendering several of the most useful CSS3 decoration features such as gradients, border-radius, border-shadow, border-image(not Last-child, nth child properties) but some of my friends facing issues with that and told me that it is not reliable.

Is there any other js library or polyfills which will support most of the css3 decoration features including child properties without using filter like compass?

Thanks.


回答1:


the problem of PIE css3 with ie is not trust issue, in some cases Pie framework does not work because it has not one of the below prerequisites:
1- the initialization path of pie or its prefixes i.e for backgrounds, is not correct.
in this case you should check the path. the best practice is to place pie.htc next to your main page/frame or master page.
2- your final result in IE is rendered in quirk mode.
3- the page doctype is not defined or is not XHTML(transitional or strict) or html5.

for any of aboveproblems it could have a full book of conditions and situations.
but once you used it 3-4 times it becomes natural, although personally i do not suggest using css3 frameworks for IE, because IE is naturally slower than other browsers in most cases and these frameworks make it even slower. and it usually it is not beneficial personally i prefer backward compatibility for my sites. where the content is seen more correctly than nice.



来源:https://stackoverflow.com/questions/14197882/options-to-solve-browser-compatibility-issues

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