martes, 30 de octubre de 2007

CSS transparente

.opaque {
opacity: .5;
filter: alpha(opacity=50);
}

Safari and Mozilla

These browsers support "opacity". It requires a fraction value, percentages are not allowed.
Explorer Windows

Explorer Windows requires:

filter: alpha(opacity=50);


//**************** ejemplo

<html>
<body background="http://www.fonditos.com/includes/imagen.php?ruta=/var/www/fonditos/www/wallpapers/1280x800/02766.jpg&nombre=tigre_de_bengala-1280x800.jpg">

<br>
<br>
<div style="background-color: #FF2233; width: 600; height: 300; filter: alpha(opacity=50); opacity: .5">
</div>

</body>
</html>


Ver URL 1
Ver URL 2
Ver URL 3

No hay comentarios: