Tuesday, November 17, 2009

CSS Vertical Menu Tutorials-Menu 10

1.Login to your blogger dashboard--> layout- -> Edit HTML

2.Scroll down to where you see </head> tag .

3.Copy below code and paste it just before the </head> tag.

CSS Vertical Menu Tutorials

<style type='text/css'>
#menu10 {
width: 200px;
margin: 10px;
}

#menu10 ul {
list-style: none;
margin: 0;
padding: 0;
}

#menu10 img {
border: none;
}

#menu10 li a {
height: 32px;
voice-family: &quot;\&quot;}\&quot;&quot;;
voice-family: inherit;
height: 24px;
text-decoration: none;
}

#menu10 li a:link, #menu10 li a:visited {
color: #4D4D4D;
display: block;
background: url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgLs7aoOqs3VVi56ykGal9M1t0mbi_tQLgck9Y3zb2QV3sz_gFFN47H_1q7XqzziChhYHukjfvl6IwGq8Lptzu0g-1ewxhsnwxbV_QoW-3rcOtNMDin-JJh-QtPavcP-JKJcOQgo9Zu2nub/);
padding: 8px 0 0 10px;
}

#menu10 li a:hover, #menu10 li #current {
color: #FF9834;
background: url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgLs7aoOqs3VVi56ykGal9M1t0mbi_tQLgck9Y3zb2QV3sz_gFFN47H_1q7XqzziChhYHukjfvl6IwGq8Lptzu0g-1ewxhsnwxbV_QoW-3rcOtNMDin-JJh-QtPavcP-JKJcOQgo9Zu2nub/) 0 -32px;
padding: 8px 0 0 10px;
}
</style>


Note :Please Host menu10.gif yourself.
CSS Vertical Menu Tutorials

4.Now save your template.

5.Go to Layout-->Page Elements and click on "Add a gadget".

6.Select "html/java script" and add the code given below and click save.

<div id="menu10">

<ul>

<li><a href="#">Home</a></li>

<li><a href="#">HTML</a></li>

<li><a href="#">CSS</a></li>

<li><a href="#">Java Script</a></li>

<li><a href="#">Templates</a></li>

<li><a href="#">About</a></li>

<li><a href="#">Contact</a></li>

</ul>

</div>


You are done.

Demo

No comments:

Post a Comment