Re: semi-transparent background using CSS

by "Bert" <bert(at)betterwebdesign.com.au>

 Date:  Tue, 12 Mar 2002 20:53:07 +0800
 To:  <r.bhaskar(at)compserv.gla.ac.uk>
 Cc:  <hwg-basics(at)hwg.org>
 References:  localhost
  todo: View Thread, Original
G'day

> Is it possible to have a semi-transparent background colour for a
> block-level element in CSS.  Something along the lines of:
> a {display: block; background-color: #334455; transparency: 50%;}

There's the filter setting.  I believe it is an IE-ism and doesn't just work
on the background, but the whole element.

   a {display: block; background-color: #334455; filter = "alpha
(opacity=50)"; }

Still, it may help

Regards
--
Bert Doorn, Web Developer
CIW Associate, IWA Member
www.betterwebdesign.com.au
Fast Loading, User Friendly Websites

HTML: hwg-basics mailing list archives, maintained by Webmasters @ IWA