是否有可能作出以下的CSS:如何使应用于div的CSS规则影响另一个div?
#subMenue {
//this rule apply to a div with an id of "subMenue"
height: auto;
width: 113px;
position: absolute;
background-color: #B3B3B3;
visibility: hidden;
}
#menueLink:hover {
//this rule apply to another div with an id of "menueLink"
//make the div that is effected by *#subMenue* rule change its visibility to *visible*
}
我试图与CSS基本的子菜单只有不使用JavaScript以最少的并发症。
WOW ... 这是神奇的... – awe 2010-01-26 10:14:57