how to make transparent background?

Discussion in 'CSS' started by p30, Jun 28, 2010.

  1. #1
    hi guys
    does anyone knows how to make transparent background using CSS. i intend to use a transparent background for my upcoming site..
     
    p30, Jun 28, 2010 IP
  2. simpleloveman

    simpleloveman Guest

    Messages:
    37
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #2
    Transparent? What whould you live to show below that? transparent = it shows the things below it through it. So what do you want to show down? Thn simply make that the Bg color or Bg Image. Thats it.

    no transparend Bacground is done via CSS
     
    simpleloveman, Jun 28, 2010 IP
  3. Astroman

    Astroman Well-Known Member

    Messages:
    2,355
    Likes Received:
    71
    Best Answers:
    0
    Trophy Points:
    135
    #3
    You can use a transparent .png image as your background image for a particular div element. Like on here: http://www.yorkinterweb.com where the main content has a semi see-through white png as the background, so you can see the green trees through the content at the bottom of the page. Is that what you mean?
     
    Astroman, Jun 28, 2010 IP
  4. p30

    p30 Peon

    Messages:
    32
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #4
    thank you.. the problem solved.
     
    p30, Jun 28, 2010 IP
  5. yarinr

    yarinr Peon

    Messages:
    4
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #5
    You can simply use:
    body {
    background-color: transparent;
    }
     
    yarinr, Jun 28, 2010 IP