Friday, November 19, 2010

How do you modify transparency with html code?

I want to make the background for my main wrapper in blogger semi-transparent. What html code can I use?How do you modify transparency with html code?
Correct CSS Opacity codes:



http://css-tricks.com/css-transparency-s

http://www.quirksmode.org/css/opacity.ht

http://www.cssdrive.com/index.php/exampl

http://www.stevenyork.com/tutorial/pure_

http://www.w3schools.com/Css/css_image_t



RonHow do you modify transparency with html code?
Hi,



You need to do this with CSS



In the image tag %26lt;img%26gt; add the following

style=';opacity:0.7;filter:alpha(opacit?br>


That would make the transparency 70%
Only some browsers understand the transparency code. A better way would be to use a png image with a 20% (or the percentage for your acquired effect) transparency in Photoshop or your image program. Then export that image calling it as the background image for your wrapper in CSS.



Hope this helps.

No comments:

Post a Comment