如何使浏览器兼容。 [英] How to make browser compatibility.
本文介绍了如何使浏览器兼容。的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我有一个在XHTML 1.0下开发的网页,但是当我在IE 8中查看这个页面时,在XHTML下创建的表格适用于IE 8.
让我知道如何为旧版和新版浏览器提供兼容性。
I have a webpage which is developed under XHTML 1.0, but when i view this page in IE 8 the tables which are created under XHTML where in-proper to IE 8.
Let me know how to make compatibility for old and latest browsers.
推荐答案
使用 Bootstrap [ ^ ]用于设计,这将消除大多数兼容性问题。如果设计在旧浏览器中仍然存在,那么我担心,您必须为特定浏览器版本编写特定的CSS文件。
更多信息 - 条件评论 [ ^ ]。
Use Bootstrap[^] for design, which will eliminate most of the compatibility issues. If the designs still break in older browsers, then I am afraid, you have to write specific CSS files for specific browser version.
More at - Conditional comments[^].
尝试Bootstrap或根据浏览器设计你也可以搜索响应式网页设计
Try Bootstrap Or design according to the Browser you can also search responsive Webdesign
这篇关于如何使浏览器兼容。的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文