Attractive CSS Horizontal Menu For Blogger/Websites

Posted by Lasantha Bandara on January 8th, 2010 File Under : css, html3 Comments

This is a another nice css horizontal menu for your blogspot blog or website.To add it to your site follow the steps below.

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.

Attractive CSS Horizontal Menu

<style type='text/css'>
#nav {
background: url( repeat-x;

#nav li {
float: left;
display: block;

#nav li a {
float: left;
display: block;
padding: 12px 18px 12px 18px;
text-transform: uppercase;
background: url( no-repeat top right;

#nav li a:hover {
background: url( no-repeat right -40px;

ul#nav li.current_page_item a, ul#nav li.current-cat a {
color: #fff;
background: url( no-repeat right -80px;

#nav li ul {
display: none;

Note : Host mainbg.jpg and navi-bg.jpg images yourself.

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.

<ul id="nav">

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

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

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

<li><a href="#" title="#">PHP</a></li>

<li><a href="#" title="#">MySQL</a></li>

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

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


<div class="clear"></div>

You are done.


File Under : css, html

3 Responses to “Attractive CSS Horizontal Menu For Blogger/Websites”

  1. Beben says:

    so elegant and so smooth...
    its a great

  2. shahid mahmood says:

    thanks its grate

  3. Shashi says:

    You can add mac style dock menu in blogger. See following:

Leave a Reply

Your email address will not be published.

This site uses Akismet to reduce spam. Learn how your comment data is processed.