2dwebdesign.com
FREE HTML TEMPLATES
A Simple Left Column Navigation MenuIn this case, we're going to create a vertical menu with text links whose backgrounds change color when you run your mouse pointer over them. The font style, size, color and text-decoration are the only features set in the STYLE section and to give us control over the link styles it is a good idea to create a special class for your navigation links. The syntax is simple ...
... where "leftNav" is the name of the specific class. You can call it whatever you want. Then, when you create your navigation menu, you include the class name like this: <A href="http://www.2dwebdesign.com/index.html/" class="leftNav">Home</a> STYLE SpecificationsHere's the STYLE block. Copy it into the HEAD of your page. The background colors of the buttons are set in the following code. To complete the creation of the menu, copy the code to the BODY of your page: Here's how it displays in your browser. Naturally, you can change the colors and fonts to suit yourself.
|