简体   繁体   English

在IE,Chrome,Firefox中的定位不同

[英]Different positioning in IE, Chrome, Firefox

I'm working on this Site 我正在这个网站上工作

The position looks good in IE & Firefox, but in Chrome I have this 在IE和Firefox中,该位置看起来不错,但是在Chrome中,我有这个位置

图片

The code is too long to post it here thats why I insert the link files: 代码太长,无法在此处发布,这就是为什么我插入链接文件的原因:

HTML: link HTML: 链接

CSS: link CSS: 链接

What can we do to have the same outcome in all three browsers? 我们要怎么做才能在所有三个浏览器中获得相同的结果?

#leftcolumn .text2 , #leftcolumn .text3 and #leftcolumn .text4 each have a height of 10px which is much smaller than the the height they would normally take up. #leftcolumn .text2#leftcolumn .text3#leftcolumn .text4各自的高度为10px ,这比它们通常占用的高度小得多。 Try removing these properties (lines 40, 41, 42), setting them to auto or setting a greater height and it should solve the issue. 尝试删除这些属性(第40、41、42行),将其设置为auto或设置更高的高度,这样就可以解决此问题。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM