我遇到了Internet Explorer问题。我很想举起手来说我不想支持它,但这不是一种选择。基本上,我写了一个无序列表用于导航。然后在另一节中,使用另一个父节点,我使用了另一个无序列表,但它继承了另一个ID的属性。它在所有其他浏览器中都可以正常工作。我删除了页面的主要部分,并在下面发布它们。另外,我检查了w3c css验证器,并且我得到的警告说“在两种情况下,颜色和背景颜色相同#container和#stripes ul a:link”。CSS - 在IE中仅继承父类的子孙
你会看到,如果你点击项目符号列表,他们会像导航一样。但是,当我尝试更改项目符号列表时,它会影响导航!我尝试设置maincontent中的所有属性,但是它会关闭所有内容。
有人可以检查了这一点,并帮助?这种类型驾驶着我!
2012 Summer Blood Challenge#stripes ul
{ font-size:13px;
list-style-type:none;
margin:0;
padding:0;
overflow:hidden;
}
#stripes li
{
float:left;
}
#stripes ul a:link,a:visited
{
display:block;
width:128px;
font-weight:bold;
color:#FFFFFF; background-image:url(https://trigger.lwcdirect.com/LWC_00486/uploadImages/2012sbc/redbar.jpg);
background-position: bottom;
text-align:center;
padding:4px;
text-decoration:none;
height:32px;
}
#stripes ul a:hover,a:active
{
background-image:url(https://trigger.lwcdirect.com/LWC_00486/uploadImages/2012sbc/darkredbar.jpg);
}
.roundside {
background-image: url(https://trigger.lwcdirect.com/LWC_00486/uploadImages/2012sbc/goldboxes_02.jpg);
background-repeat: repeat-y;
width: 560px;
text-align: left;
padding: 0 30px 0 30px;
}
.roundside ul {list-style-type: none;
margin: 0;
padding: 0;}
.roundside li {background-image:url(https://trigger.lwcdirect.com/LWC_00486/uploadImages/2012sbc/drop.gif);
background-repeat:no-repeat;
padding:0 0 5px 16px; font-size:16px;}
.roundside ul a:link,a:visited,a:hover,a:active {color:#990000; font-weight:bold}