JaMeS_BoNd_007
New Member
I know \[code\]#holder ul.sub\[/code\] means all the ul elements which contain sub class which are in a div with id holder in css, but what is this:\[code\]#menuOuter li:hover ul.sub li.current a {margin-top:200px; height:40px;}\[/code\]there is no \[code\]current\[/code\] class in the rest of the css code, there is just this one:\[code\]<li class="sub-li p1 current"><a class="a1" href="http://stackoverflow.com/questions/15458479/#url"><img src="http://stackoverflow.com/questions/15458479/hover-grow/pic1.jpg" />\[/code\]and how does \[code\]current\[/code\] move from \[code\]sub-li p1\[/code\] to \[code\]sub-li p2\[/code\] or \[code\]sub-li p3\[/code\] or \[code\]sub-li p4\[/code\]? I thought there should be a javascript function but there is not.Thanks in advance for your answers