Forum Moderators: not2easy

Message Too Old, No Replies

CSS To Make Content Area Transparent

         

WolfLover

3:27 am on Apr 24, 2009 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Hi, I am in the middle of designing a new site and I want to make a fixed background image with the content area being transparent so that the background can be seen.

I also want to be able to change the amount of transparency depending on which image I decide to use.

What is the best way to do this?

Thanks in advance for your help.

swa66

2:23 pm on Apr 24, 2009 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



If you need legacy IE6 support, there's an uphill fight for you as it doesn't do transparent png images properly, sometimes not even with help from scripts either.

For standards compliant browsers, the background can be either fully transparent or it can contain a png image (repeated or not) that can have varying degrees of opacity.