/*
Here's a demo stylesheet used to format a menu and its content.
Feel free to alter the menu layout however you want!
All you have to do is ensure the script has the correct CSS property name
(like 'visibility' or 'display') that changes to show/hide menus.
If you want to extend this layout, one good resource for UL/LI formatting is:
http://www.alistapart.com/articles/taminglists/
Alternatively, you can use any other CSS dropdown layout instead. More here:
http://www.alvit.de/css-showcase/
Consult your favourite CSS reference for customising fonts/borders/etc.
Otherwise, you can just change the #RGB border/background colours where
suitable to customise for your site -- easy :).
*/
/* HORIZONTAL FREESTYLE MENU LAYOUT */
/* All
tags in the menu including the first level */
.menulist, .menulist ul {
margin: 0;
padding: 0;
list-style: none;
}
/* Submenus (
tags) are hidden and absolutely positioned downwards from their parent */
.menulist ul {
display: none;
position: absolute;
top: 1.0em; margin-top: 13px; /* I'm using ems and px to allow people to zoom their font */
left: -1px;
width: 150px;
}
/* Second and third etc. level submenus - position across from parent instead */
.menulist ul ul {
top: -1px; margin-top: 0;
left: 148px;
}
/*
All menu items (