I managed to get the menu running..but have some problems.
How do I get the active page item also on the same line as the others. It appears slightly above the others. The list(menu) is working fine on a sample xhtml/css page outside MODx.
For ex: On Home page Home item appears centered above the list of items, other items appear almost ok.
Here is my CSS, just in case:
#topnavwrapper {/*div wrapping the menu*/
margin: 0 auto;
text-align: center;
background: #333 url(topnavbg.gif) repeat-x;
width: 770px;
height: 35px;
}
/*menu code*/
#menu {
padding: 2px 0 0 40px;
height: 35px;
}
#menu ul {
height: 35px;
text-transform: uppercase;
}
#menu ul li, #menu ul li a {
display: inline;
list-style-type: none;
}
#menu ul li a:link, #menu ul li a:visited {
float: left;
font-family: Arial, Helvetica, sans-serif;
font-size: 11px;
font-weight: bold;
line-height: 14px;
letter-spacing: .04em;
padding: 0 12px 6px 12px;
text-decoration: none;
color: #f66;
}
#menu ul li.here, #menu ul li a:link.active, #menu ul li a:visited.active, #menu ul li a:hover {
color: #CC3333;
background: url(../pv/images/pointer.gif) no-repeat bottom center;
}
The snippet is called using:
<div id="menu">[!DropMenu?startDoc=`0`&levelLimit=`1`!]</div>
Waiting for help from you wizards.
Thanks.