On Jul 26, 2009, at 4:12 PM, Chris Blake wrote: > What's this about? Hex code for transparency? I like the sound of this > but it's the first I have heard.... > > I notice you have put 'rgba' is that for alpha? Can I have opaque > colours too?
of course: p {background: rgba(0,0,0,.8); color: rgba(255,255,255,1);} 0 is fully transparent, 1 is fully opaque. the 'a' in rgba means alpha- channel (transparency) <http://www.w3.org/TR/css3-color/#rgba-color> doesn't work in IE 6, 7 & 8, though. PS - bottom posting, please Philippe --- Philippe Wittenbergh http://l-c-n.com/ ______________________________________________________________________ css-discuss [cs...@lists.css-discuss.org] http://www.css-discuss.org/mailman/listinfo/css-d List wiki/FAQ -- http://css-discuss.incutio.com/ List policies -- http://css-discuss.org/policies.html Supported by evolt.org -- http://www.evolt.org/help_support_evolt/