Re: css and opacity

On Sun, Apr 03, 2005, Fleurentdidier Messaoudi Arnaud wrote:
> It was what I thought but the problem is that I need opacity with
ie...
> >moz-opacity:0.45;
> and
> > >khtml-opacity: 0.45;
> seems to be useless
> 

The above two are proprietary properties, and you can't blame one
particular browser for not implementing them. 

There is an opacity property in CSS3 color:
http://www.w3.org/TR/css3-color/#transparency
but CSS3 is not yet a Recommendation, and not all browsers (especially
older ones) implement it.

 
-- 
olivier
ok but a command line was accepted by w3c css validator : 

<DIV style="opacity: .45; filter: alpha(opacity=45);-moz-opacity: .45;
position:absolute; z-index:6; left: 0px; top: 7px;"><img
src="banners/title.png" width="980" height="154"></div>

today its :
img.edhelgarthlogo {
position: absolute;
left: 50%;
margin-left: -490px;
z-index: 6;
filter:alpha(opacity=45);
moz-opacity:0.45;
khtml-opacity: 0.45;
opacity: 0.45;
}

and then
<img class="edhelgarthlogo" src="banners/title.jpg" width="980"
height="154" alt="">

Im not a professional but the only difference is the fact Ive centered
the image...

Oh I forgot there is no difference if I wrote my command in div TAGS

Regards,
-- 
Fleurentdidier Messaoudi Arnaud <sadangel@neuf.fr>

Received on Monday, 4 April 2005 16:47:38 UTC