Transparent DIV SPAN for all browsers
How to create a transparent DIV / SPAN to work in all browsers including Internet Explorer and Firefox. Internet Explorer uses filter and firefox uses moz-opacity; here’s the CSS and HTML code to use.
CSS Code
.transparent { filter:alpha(opacity=60); -moz-opacity: 0.6; opacity: 0.6; }
HTML Code
<div class="transparent">A transparent div.
</div>
There you have it a nice shiny semi-opaque, transparent div.
Related Articles
- 05.04.11: CSR contains a key size that is less than 2048 bits (0)
- 11.10.11: RSForm minimum character for phone | phone validation Joomla (0)
- 25.02.11: Delete failed: *.php Joomla! (1)
- 23.06.11: Add logo to print popup in Joomla (0)
- 14.02.11: Perl files download instead of executing / processing (fixed) (0)









Comments RSS Feed





Leave a comment