CSS Menus - Style #4
Pre-built in red/grey. Top red line controlled via CSS.
This menu is called “Style4″ and I’m not sure why.
The Menu
FAQ
- Entire menu system is less than 3KB.
- 2 image files, 1 css file, 1 html file.
- Has been tested and works in over 150 broswer/operating system combos.
- It’s FREE for you to use.
Source Code
Check out the source code below or download the zip file containing all necessary html, css, and images. The “Services” tab has the ON state by adding the “current” class to the A tag.
CSS
<style type="text/css"> <!– #stylefour{position:relative;display:block;height:39px;font-size:11px;font-weight:bold;background:transparent url(/code/style4/images/bgOFF.gif) repeat-x top left;font-family:Arial,Verdana,Helvitica,sans-serif;border-top:4px solid #B30000;} #stylefour ul{margin:0;padding:0;list-style-type:none;width:auto;} #stylefour ul li{display:block;float:left;margin:0;} #stylefour ul li a{display:block;float:left;color:#666;text-decoration:none;padding:11px 20px 0 20px;height:23px;background:transparent url(/code/style4/images/bgDIVIDER.gif) no-repeat top right;} #stylefour ul li a:hover,#stylefour ul li a.current{color:#B30000;background:#fff url(images/bgON.gif) no-repeat top right;} –> </style>
HTML
<div id="stylefour"> <ul> <li><a href="http://www.13styles.com/css-menus/style4/" title="css menus">Home</a></li> <li><a href="http://www.13styles.com/css-menus/style4/" title="css menus">About Us</a></li> <li><a href="http://www.13styles.com/css-menus/style4/" title="css menus" class="current">Services</a></li> <li><a href="http://www.13styles.com/css-menus/style4/" title="css menus">Our Work</a></li> <li><a href="http://www.13styles.com/css-menus/style4/" title="css menus">Contact Us</a></li> </ul> </div>
Online Menu Builder
PSD to XHTML
PSD to HTML: You Design - We XHTML
Web Menus
February 17th, 2008 at 1:03 am
Thanks its so nice and i am going to use my health site.
February 17th, 2008 at 1:05 am
Great! Glad you like it!
February 18th, 2008 at 2:06 am
thank you very much for this one!
March 4th, 2008 at 12:11 pm
very nice template!
Thanks
March 7th, 2008 at 4:53 pm
the style is great but i’m wondering how i could center it in the page
March 22nd, 2008 at 9:33 pm
Great script, after playing with the colours I’ve have it to suit my site perfectly. A good way for me to learn CSS too. At the moment I’m trying to get three buttons left aligned and one button off to the right (for changing the language of the site). Is this possible? Would I have to create a new block?
March 28th, 2008 at 10:20 pm
how could I center the buttons?
April 8th, 2008 at 6:17 am
yeah, I’m wondering the same too.
April 11th, 2008 at 4:33 am
how can i add dropdown menu
ex.
services -> sample1
-> sample2
-> sample3
i tried but it wont work i put
services
Subitem 1
Subitem 2
Subitem 3
then this is the css:
.hidden li ul {
display: none;
}
.hidden li:hover ul {
display: block;
}
April 16th, 2008 at 1:58 am
i like it.so good!
April 16th, 2008 at 2:01 am
very simple and very nice
May 13th, 2008 at 7:27 am
I used it. it look good.
Thanks.