I am trying html menu, following is part of code copied from google.
I changed it to this:Code:#myMenu ul { position: absolute; display: none; z-index: 999; } #myMenu ul li a { width: 80px; }
"width: 80px" was simply moved up.Code:#myMenu ul { position: absolute; width: 80px; display: none; z-index: 999; } #myMenu li a { width: 80px; }
However, things are changed, the modified line in ul is not working again.
Could you explain reason or differences of above code?
I am very very ... confused with css format of this kind.
Thanks.



Reply With Quote
Bookmarks