简体   繁体   English

IE7,在CSS表中带有ul和li

[英]IE7 with ul and li in css table

I have a CSS table I made that looks good on all browsers except IE7. 我有一个CSS表,在除IE7之外的所有浏览器上看起来都不错。 In IE7, the ul cells are been out of set. 在IE7中,ul单元不正常。

link: https://dl.dropbox.com/u/107452929/issue/index.htm 链接: https//dl.dropbox.com/u/107452929/issue/index.htm

Try this. 尝试这个。

ul ul{
   *left: 0;
   *margin: 0;
   *padding: 0;
}

if that does not work you may have to add a negative left margin to the ul ul. 如果不工作,你可能要负左边距增加了UL UL认证。

Adding the * will target only ie7 添加*将仅定位到ie7

Just add float: none and clear:both to your class- likeAndselete . 只需在类likeAndselete添加float: noneclear:both即可。

This will give you the same look and feel in all the browsers 这将在所有浏览器中为您提供相同的外观

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

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