Jump to content

Css Image Opacity / Transparency


orloxgr

Recommended Posts

As the title says i have some questrions regarding CSS Image Opacity / Transparency. As we can see there is an example of how to make a table transoarent with the test on it at 100% opasity at http://www.w3schools.com/css/css_image_transparency.asp My problem is that the code at that page doesnt work. I copied and pasted it in a new html document localy as it is. The text gets transparent with the box. I made the flower picrure png transparent and still it doesnt works.Anyone knows how its done? I mean 100% text in a 0.6 box?

Link to comment
Share on other sites

You don't use opacity if you only want the background to be transparent. For that, use a transparent PNG as the background and don't set the opacity of the object.The text in the W3schools example is transparent.

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...