Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
  1. #1
    New to the CF scene
    Join Date
    Mar 2011
    Posts
    8
    Thanks
    1
    Thanked 0 Times in 0 Posts

    Image gradient, then color for background

    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/...e2/newsite.png

  • #2
    New to the CF scene
    Join Date
    Mar 2011
    Posts
    8
    Thanks
    1
    Thanked 0 Times in 0 Posts
    I solved the problem, sorry for time wasting ;x


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •