avatar

Andres Jaimes

An easy way to do a CSS Horizontal Menu

Here it is. Start with a conventional item list like the following: <ul class="hmenu"> <li><a href="">Option 1</a></li> <li><a href="">Option 2</a></li> <li><a href="">Option 3</a></li> <li><a href="">Option 4</a></li> <li><a href="">Option 5</a></li> </ul> Don’t forget to add the class parameter to the ul tag – that will help us do the magic. The previous list is rendered in a regular browser like the following: Now, add the following CSS to your file: .hmenu { margin: 0; padding: 0; list-style-type: none; list-style-image: none; } .