3
Contributors
2
Replies
19
Views
4 Years
Discussion Span
Last Post by crescendo
0

You can always take a lol at the source code of the page to get an idea of what is implemented. These vertical menus can be built using CSS alone by changing the display property on the style and pseudo style :hover.

There are also fancier ways to do it with JavaScript/jQuery.

Plenty of examples and tutorials online for vertical navigation menu.

0

Simple

This is the usual way of generating a horizontal menu in css :-

ul{
margin:0;
}

ul li{
display: inline-block;
list-style: none;
background: e5e5e5;
padding: 5px 10px;
}

This is just an example. If you want a vertical menu, eliminat the line that says '

display:inline-block;

'

you may either say

diplay:block;

or simply leave it out completly!

This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.