是否有可能作出以下的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