如何解决浏览器兼容性 [英] How to solve Browser Compatibility

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

问题描述

亲爱的,

我在浏览器兼容性方面遇到问题.

Mozilla,Chrome和IE8一切正常,但IE7存在一些对齐问题.

如何解决这个问题.

我认为这是一个StyleSheet问题.
上次我为IE7 *padding-right:30px;输入StyleSheet时,此方法不起作用.

请引导我.

Hi Dear,

I face problems with Browser Compatibility.

Everything is OK for Mozilla, Chrome, and IE8 but there are some alignment problems with IE7.

How to solve this one.

I think it is a StyleSheet Problem.
Last time I put in StyleSheet for IE7 *padding-right:30px; and this is not working.

Please guide me.

推荐答案



不知道这是否是解决此问题的最佳方法.但是我可以通过检测客户端使用哪个版本,然后编写适当的代码来解决此问题来解决此问题.

检查此处以检测客户端浏览器及其使用的版本.
[使用js浏览器检测]

这可能对您有帮助,


谢谢,
Arindam D Tewary
Hi,

Not sure if it is best way to get around this problem. But I would have accomplished this problem by detecting which version client is using and then writing the appropiate code to fix it.

Check here for detecting client browser and which version it is using.
[Browser Detection using js]

This might help you,


Thanks,
Arindam D Tewary


[
This[^] may help.
It addresses quite a few of the better known CSS problems in IE7.


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

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