backgound to CSS

Discussion in 'HTML & Website Design' started by cavow, Aug 10, 2010.

  1. #1
    Hi,
    I have a gradient background and i want to know how can I slice it and use css to use the images as bg in an HTML document.

    [​IMG]

    Please I really need this.
    Thanks.
     
    cavow, Aug 10, 2010 IP
  2. bavington

    bavington Peon

    Messages:
    74
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    0
    #2
    Hi Cavow, I would recommend watching this video tutorial: http://www.youtube.com/watch?v=LcoeLjj6mVc on YouTube, it explains how you can set a 1px wide background gradient, like how I think you are looking to do.
     
    bavington, Aug 11, 2010 IP
  3. CSM

    CSM Active Member

    Messages:
    1,047
    Likes Received:
    25
    Best Answers:
    0
    Trophy Points:
    55
    #3
    Ah well, there are more then one possibilities to do that.

    Depends if your design is fluid or fixed. The video is a start for sure. ;)
     
    CSM, Aug 11, 2010 IP
  4. karthimx

    karthimx Prominent Member

    Messages:
    4,959
    Likes Received:
    127
    Best Answers:
    2
    Trophy Points:
    340
    #4
    this kind of image should slice horizontally by 5 px.
     
    karthimx, Aug 11, 2010 IP
  5. cavow

    cavow Peon

    Messages:
    36
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #5
    Hi,
    I don't want integrate the CSS code into the html document, and my background is not the same as in the video
     
    cavow, Aug 11, 2010 IP