infoways-logo infoways-logo

Tutorial for Freelance web designer, Bigginer Website Designer

CSS Menu Tutorial (Verticle)

Tutorial by Amole Bonde.
Hi, This is a simple tutorial on How to CSS make verticle menu bar?
Lots of tutorials available on internet of Verticle CSS Menu. But of course, this one is much more simpler.
Click here to see the demo

Tutorial- Easiest way to make CSS-Verticle Menubar
Click here to see demo
Here is the Source Code of Verticle CSS Menubar-
1. Copy this code and Paste in to dreamweaver's Code view.
2. Save Document. eg. (menubar.html)
3. Press-F12 to Preview
 
 
<style type="text/css">
CSS
#navcontainer
{

background: #f0e7d7;
width: 30%;
margin: 0 auto;
padding: 1em 0;
font-family: georgia, serif;
font-size: 13px;
text-align: center;
text-transform: lowercase;

}

ul#navlist
{

text-align: left;
list-style: none;
padding: 0;
margin: 0 auto;
width: 70%;

}

ul#navlist li
{

display: block;
margin: 0;
padding: 0;

}

ul#navlist li a
{

display: block;
width: 100%;
padding: 0.5em 0 0.5em 2em;
border-width: 1px;
border-color: #ffe #aaab9c #ccc #fff;
border-style: solid;
color: #777;
text-decoration: none;
background: #f7f2ea;

}

#navcontainer>ul#navlist li a { width: auto; }

ul#navlist li#active a
{

background: #f0e7d7;
color: #800000;

}

ul#navlist li a:hover, ul#navlist li#active a:hover
{

color: #800000;
background: transparent;
border-color: #aaab9c #fff #fff #ccc;

}
</style>


HTML
<div id="navcontainer">
<ul id="navlist">
<li id="active"><a href="#" id="current">Item one</a></li>
<li><a href="#">Item two</a></li>
<li><a href="#">Item three</a></li>
<li><a href="#">Item four</a></li>
<li><a href="#">Item five</a></li>
</ul>
</div>
 
advertise
Click here to see our newsletter for small business website  
   
Home | About Us | Services | Portfolio | Clients | Testimonials | Careers | Contact Us
© Infoways 2008-09 | Website Design by: www.infoways.in | Website Hosted By: www.safooga.com
   
website design advertise