Sunday, January 16, 2011

How To Add 3D CSS Horizontal Menu to Blogger

0 comments



Instructions To Follow:
STEP #1
Log in to Blogger, go to Layout -> Edit HTML
and mark the tick box "Expand Widget Templates"

STEP #2
Now find (CTRL+F) this code in the template:
</head>
And immediately before it, paste this code:



<style type='text/css'>
#tabs22 {
float:left;
width:100%;
background:#efefef;
font-size:93%;
line-height:normal;
border-bottom:1px solid #666;
}
#tabs22 ul {
margin:0;
padding:10px 10px 0 50px;
list-style:none;
}
#tabs22 li {
display:inline;
margin:0;
padding:0;
}
#tabs22 a {
float:left;
background:url(&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjhoQb8EDOzwgf9e6oMUDTHdu-SSh5CfPDHtC44o_VZVv35Mq15cBcj-afqOznkkNSy_tMAO7fV0FqGWUzlMpdcqTGa4HcOUwmxaucOR6B2AAUxRCXgY3I8JeP01aZMF0UxFIuvJXHUHied/&quot;) no-repeat left top;
margin:0;
padding:0 0 0 4px;
text-decoration:none;
}
#tabs22 a span {
float:left;
display:block;
background:url(&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgIlP_zIa8APVa6dE8XZGxhYcjlVAvPtGiic01r4UdGGcTi9ZEmV6mCos4jvdoTtind9wgqEKSHG-xpYYuMsjbks-LWMQppTlKzXKoLYOEiMQPFO-wjGi9Z9XP7r9avk7Us167NwmvEKTf0/&quot;) no-repeat right top;
padding:5px 15px 4px 6px;
color:#666;
}
#tabs22 a span {float:none;}

#tabsF a:hover span {
color:#FFF;
}
#tabs22 a:hover {
background-position:0% -42px;
}
#tabs22 a:hover span {
background-position:100% -42px;
}
</style>

Note : Please Host above 2 images yourself.


NOW CLICK SAVE TEMPLATE






STEP #1 Log in to Blogger, go to Layout




page-elements

Add a Gadget of HTML/JavaScript type.


image
Then add this code in to it:.

<div id="tabs22">

<ul>
<li><a href="#"><span>Home</span></a></li>
<li><a href="#"><span>HTML</span></a></li>
<li><a href="#"><span>CSS</span></a></li>
<li><a href="#"><span>Java Script</span></a></li>
<li><a href="#"><span>About</span></a></li>
<li><a href="#"><span>Contact</span></a></li>
<li><a href="#"><span>Privacy Policy</span></a></li>
</ul>

</div>


NOW CLICK SAVE

0 comments:

Post a Comment

Followers

Blogumulus by Roy Tanck and Amanda Fazani
Free Blogger Tips, Hacks, Widgets, Templates and more