Log in

View Full Version : How to get another bar?



phil519
12-14-2007, 10:18 AM
Hi,

I recently added this menu http://www.dynamicdrive.com/style/csslibrary/item/dd-color-tabs/ (I'm using visual web developer '05) I want to have another bar like underneath the tabs (just the bar not the tabs)..but I tried copying and pasteing it and it appeared but then just disappeared? How do I get it to not disappear?

codeexploiter
12-14-2007, 11:10 AM
You can place the following CSS style class in within your style tags.



.bar{
padding: 0;
width: 100%;
height: 8px;
line-height: 8px;
background: #678b3f;
border-top: 1px solid #fff; /*Remove this to remove border between bar and tabs*/
}


After that in your body wherever you need that bar just add the following HTML code


<div class="bar"></div>


That will give you the bar you wanted. Hope this helps

phil519
12-14-2007, 11:32 AM
Thanks alot :)