blogger | blogspot thick underline CSS menu


This is a simple CSS menu, in this meun bborder-bottom property is used in tabs and tabs:hovers.

Demo:

How to install to Blogger:

step 1:

Copy the Html code given below and past it in the new<b> HTML/JavaScript</b>widget in <b>Page element</b> of the <strong>Blogger</strong>Drag the widget under the Header of the Blog and save the <strong>Layout</strong>
<div class="underlinemenu">
<ul>
<li><a href="#">Home</a></li>
<li><a href="#">CSS Codes</a></li>
<li><a href="#">Forums</a></li>
<li><a href="#">Webmaster Tools</a></li>
<li><a href="#">JavaScript</a></li>
<li><a href="#">Gallery</a></li>
</ul>
</div>

step 2:

Copy the CSS code given below and past it inside the skin <b> ]]&gt;&lt;/b:skin&gt; </b> of the bloggeror go to
<b><i>Template Designer&gt;Advanced&gt;Add CSS</b></i> Past the code and click <b>Apply to Blog</b>....and you have done..!
.underlinemenu{
font-weight: bold;
width: 100%;
}

.underlinemenu ul{
padding: 6px 0 7px 0; /*6px should equal top padding of "ul li a" below, 7px should equal bottom padding + bottom border of "ul li a" below*/
margin: 0;
text-align: right; //set value to "left", "center", or "right"*/
}

.underlinemenu ul li{
display: inline;
}

.underlinemenu ul li a{
color: #494949;
padding: 6px 3px 4px 3px; /*top padding is 6px, bottom padding is 4px*/
margin-right: 20px; /*spacing between each menu link*/
text-decoration: none;
border-bottom: 3px solid gray; /*bottom border is 3px*/
}

.underlinemenu ul li a:hover, .underlinemenu ul li a.selected{
border-bottom-color: black;
}
thanks to

0 Comments | Post a comment:

Post a Comment

Find us on Facebook