Log in

View Full Version : download to project?



phil519
12-24-2007, 06:45 PM
I have this menu http://www.dynamicdrive.com/style/csslibrary/item/dd-color-tabs/ and I created another bar like the one below the tabs of the menu. I wanted to add stripes to this other bar and I found the stripes I want from this site http://www.stripemania.com/ I downloaded the images of the stripes from the site but how do I add it to my project on visual web '05 to the bar I want the stripes to be the background of?

ruthc
12-30-2007, 09:52 AM
Hi,

You would code it in the css for that line. I believe it's this



#ddcolortabsline{
clear: both;
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*/
}


So where it says background: and the color, you'd do something like


background: transparent url(image.name) repeat-x;

Ruth