Creative Communities of the World Forums

The peer to peer support community for media production professionals.

  • Posted by David Labbe on February 2, 2009 at 12:46 am

    I was looking at zen garden and saw alot of them are using transparent png’s….what technique are they using because I had trouble finding it in the css? And I mean what kind of hack are they using or if any.

    What is the best way to handle transparent png?
    thanks

    Fernando Mol replied 17 years, 6 months ago 2 Members · 3 Replies
  • 3 Replies
  • Fernando Mol

    February 2, 2009 at 7:45 pm

    There’s no magic. If you put a PNG with alpha transparency you’ll see behind.

    You can mix them using a background image for your body tag, another bg image in your wrapper div, another in you content div and another in you h1 tag and, if they have transparency, will be mixed together. It’s all about the PNG.

  • David Labbe

    February 2, 2009 at 7:52 pm

    i think you misunderstood me….my bad. I know about png’s…however i know IE6 does not like them….what hack are they using? from the looks of it…none. and if so what? or what is the best practice or should i even concern myself with it.

    thanks

  • Fernando Mol

    February 3, 2009 at 1:25 am

    As you say, there seems to be no hacks in CSS Zen Garden designs. Looks that they don’t care about IE6.

    But if you care, you can use Conditional Comments to define a special CSS for internet explorer 6.

    https://www.quirksmode.org/css/condcom.html

We use anonymous cookies to give you the best experience we can.
Our Privacy policy | GDPR Policy