简体   繁体   English

在IE6和其他浏览器下显示不同

[英]display different under IE6 and other browers

i know IE6 is dead,but in china, there are lots of people still using it. 我知道IE6已经死了,但是在中国,仍然有很多人在使用它。 so expect someone can do me a favor about this problem. 所以希望有人可以帮我这个问题。

this is the page.the even line's background color is not the same length, under IE6, which is shorter 这是页面。在IE6下,偶数行的背景颜色长度不一样,较短

the display under IE6. 在IE6下显示。 (http://run.xxmn.com/ie6.jpg). (http://run.xxmn.com/ie6.jpg)。 the bgcolor displays different from other browers. bgcolor显示与其他浏览器不同。

the display under IE7,FF,CHROME (http://run.xxmn.com/ie7.jpg). 在IE7,FF,CHROME(http://run.xxmn.com/ie7.jpg)下显示。 it displays ok. 它显示确定。 how to make it under IE6 displays the same result as other browers? 在IE6下如何使其显示与其他浏览器相同的结果?

ps:the problem is solved. ps:问题解决了。 thanks all the guys. 谢谢大家。

The problem in IE6 is probably due to negative margins on the views-field-title class (though I don't have IE6 installed to check). IE6中的问题可能是由于views-field-title类的页边距为负(尽管我没有安装IE6进行检查)。

You don't actually need negative margins to achieve the effect you want. 您实际上不需要负边距即可达到所需的效果。 So suggest removing them like this: 因此,建议像这样删除它们:

  • Remove margin-left: -4px; 删除margin-left: -4px; from #left_cplist .cplist-bg .view-content .views-field-title 来自#left_cplist .cplist-bg .view-content .views-field-title
  • Remove margin-left: 5px; 删除margin-left: 5px; form #left_cplist .cplist-bg .views-row 形式#left_cplist .cplist-bg .views-row

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

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