Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
4.0k views
in Technique[技术] by (71.8m points)

关于谷歌游览器跟IE游览器页面访问时,样式显示不同

在谷歌游览器上页面显示是正常的,可是在IE游览器上访问的话,样式都变了,字体大小和边距都偏小,请问一下有什么好的解决办法吗?


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)

每个浏览器都有默认样式,不同浏览器的默认设置存在差异,这些样式基本上都没用,你需要写覆盖的css将浏览器的默认设置覆盖掉。
关于reset样式没有标准答案,你可以去网上搜下阿里的解决方案


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...