orloxgr Posted July 30, 2009 Share Posted July 30, 2009 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 More sharing options...
Ingolme Posted July 30, 2009 Share Posted July 30, 2009 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 More sharing options...
orloxgr Posted July 30, 2009 Author Share Posted July 30, 2009 so the text at the example is transoarent 0.6 too? I know how to do it with a png but i thought he was doing it with a css box! Thank you for that. You saved me from crazyness Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.