...

View Full Version : Image gradient, then color for background



DaleCee
04-04-2011, 01:39 AM
Ok hey again codingforums.

This time I want to find a way to make my content holder have an image. This image goes down a gradient from dark grey to lighter grey. Then the background of the div is the same light grey. Is it possible to get the image to appear onced, then have the light grey color repeat down? I'm not entirely sure how to do this.

.contentholder{
margin:0;
font-size:11px;
font-weight:bold;
padding-left:26px;
padding-top:18px;
list-style:none;
width:884px;
overflow:hidden;
background-image:url(../images/contentbackground_13.gif) <the image I want to appear just onced
background-color: rgb(66,65,65) < the color I want to repeat after
}
here is a screen shot, the css in question is the darkish grey background with the arrow pointing to it
http://i1081.photobucket.com/albums/j360/breakthesilence2/newsite.png

DaleCee
04-04-2011, 01:44 AM
I solved the problem, sorry for time wasting ;x



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum