Reply to Re: opacity

Your name:

Reply:


Posted by Julien CROUZET on 02/18/06 15:31

windandwaves a écrit :
> Hi Gurus
>
> What is the right way to set opacity in css. I use the one below, but it
> gives errors in Firefox:
>
> opacity:.50; filter: alpha(opacity=50); -moz-opacity: 0.50; margin: 0px;
>

From the CSS validator FAQ :


Why don't my scrollbar properties, filters, etc. validate?

The CSS Validator validates your style sheet against some profile, e.g.
CSS Level 1 or CSS Level 2.
Some browser Vendors however extend these profiles by new properties
like Microsoft did with the scrollbar-base-color or filter property or
Mozilla with the -moz-opacity property. The Validator is not aware of
these properties and using them makes your style sheet invalid in terms
of the CSS specifications. _Either get rid of those properties or live
with the fact, that your style sheets don't validate._ _You cannot have
both._


--
Julien CROUZET - DSI Theoconcept
julien.crouzet@/enlever ca\theoconcept.com
http://www.theoconcept.com

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация