如何使网页跨浏览器兼容 [英] How to make web page Cross-Browser compatible

查看:87
本文介绍了如何使网页跨浏览器兼容的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如何使Web应用程序跨浏览器兼容.它应该在不同的浏览器上显示相同的设计吗?

How to make web application cross browser compatible.. It should display same design on different browsers?

推荐答案

使其看起来100%相同几乎是不可能的.这只是自然而然的事实:不同的布局引擎之间存在巨大差异,而支持标准的准确性却受到限制.我建议您不要追求这个确切的目标.取而代之的是,尽管布局上有些明显的差异,您仍应尝试使设计清晰,可识别.实现这个更现实的目标的方法之一是使设计相对简单.

毕竟,最主要的是Web设计的重点是内容,其可读性,清晰度和导航便利性.应避免所有装饰.严格的设计原则告诉我们:如果内容上没有明确的含义,您甚至无权绘制细线或颜色渐变.

—SA
Making it looking 100% identical is nearly impossible. This is just a fact of nature: considerable differences in different layout engines and limited accuracy in support of the standards. I would suggest you should not pursue this exact goal. Instead, you should try to make your design clear and recognizable despite of some visible differences in layout. One of the ways to approach this more realistic goal is to keep design relatively simple.

After all, main thing is the Web design is the focus on content, its readability, clarity and convenience of navigation. All decoration should be avoided. The strict principles of design tell us: you have no rights to draw even a tiny line or color gradation if it does not carry some clear meaning in terms of content.

—SA


请在这里看看:
如何使网页适合屏幕 [ ^ ]
Please have a look here:
how to fit the web page to the screen[^]


这篇关于如何使网页跨浏览器兼容的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆