On 24 Aug 2005, at 11:40 am, Peter Williams wrote:

I keep getting a parse error on -moz-outline: none; when
validating
#footer img { vertical-align: middle; outline: none; -moz-outline:
none;}

Tracy,

moz-outline would seem to be a proprietory css extension,
the w3c css validator is going to flag anything that isn't
in the w3c css recommendations.

Why do you need to declare outline and moz-outline for this image?
Especially when you are setting them to none, isn't that the default?

The default should be none indeed, except if you set the outline somewhere else in the stylesheet.

BTW, you're better off by first specifying the vendor-specific property, and then the official one; vendor specific stuff could be processed slightly differently. In Tracy's case, apply it this way:
#footer img { vertical-align: middle; -moz-outline:none; outline: none;}

As a side note, DeerPark (and the upcoming Firefox 1.5) fully supports the official 'outline' property. And it supports the CSS3 'outline-offset' property.


Philippe
---
Philippe Wittenbergh
<http://emps.l-c-n.com/>

______________________________________________________________________
css-discuss [EMAIL PROTECTED]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/

Reply via email to