[英]Website is a different layout on different browser
I have a website but when I simulate it in IE5.5, IE6 & IE7 they layout and everything looks aweful compared to what it should. 我有一个网站,但是当我在IE5.5,IE6和IE7中对其进行仿真时,它们的布局和与应有的条件相比看上去都很棒。 It works perfectly on IE8 & IE9. 它在IE8和IE9上完美运行。 My question is, is there a script which automatically fixes the layout issues depending what browser the user is using? 我的问题是,是否有一个脚本可以根据用户使用的浏览器自动修复布局问题?
There is no script, you will have to create a separate .css file and detect the browser. 没有脚本,您将必须创建一个单独的.css文件并检测浏览器。 Sorry but IE is terrible at staying consistent. 对不起,但是IE很难保持一致。
Something link this 东西链接到这个
<!--[if IE 7]>
Special instructions for IE 7 here
Or use a different .css file here.
<![endif]-->
<!--[if IE 6]>
Special instructions for IE 6 here
<![endif]-->
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.