PDA

View Full Version : PNG24 or Opacity?


Dax IX
01-25-2009, 05:48 AM
I'm working on one of my sites right now, and I was wondering how you would handle semi-transparent objects.

Should I use CSS Opacity, or should I use PNG24?

Is there any way to make a background image semi-transparent?

Thanks! :)

--------------- Added 1232870439 at 1232870439 ---------------

Never Mind. There's no way to do what I want with CSS Opacity...at least on this project.

MRGTB
02-02-2009, 09:55 PM
Yes, well sort of using a Photoshop trick.

Create a "new" background that's transparent, then create a second one thats a colour, and copy it over the first one, so you have two layers. Then you can use the layer tools to fade the the coloured one out. So you end up with a semi transparent image

Dax IX
02-02-2009, 10:09 PM
Thanks...that's what I've done on other sites, but on http://www.cemagraphics.com, I needed to use PNG24's because of the fixed background that I want to kinda show through on the page.

If it weren't for that fixed background that I want to show, it would be no problem.

I know it excludes many people from seeing the effect I want to show, but they really should upgrade their browsers. ;)