View Full Version : transparent layers


elanor
10-19-2003, 04:11 AM
i was wondering whether or not there was a code to make div layers/picture layers transparent...is there a way? i've been trying to look for a while and i can't seem to find it ^.^ thanks!

kittycat
10-19-2003, 04:20 AM
Div layers will automatically be transparent if you don't specify a background.

If you do have a background, this code will change the opacity:
style="filter: alpha(opacity=70);"

You can add that to either a div or an image, eg

<img src="blah.jpg" style="filter: alpha(opacity=70);">

elanor
10-19-2003, 04:23 AM
thanks heaps! something so simple, you'd think i'd be able to find the code easier..pffft...THANKS!