homepage Welcome to WebmasterWorld Guest from 54.227.20.250
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Pubcon Platinum Sponsor 2014
Home / Forums Index / Code, Content, and Presentation / CSS
Forum Library, Charter, Moderators: not2easy

CSS Forum

    
CSS error using W3C
Stepas



 
Msg#: 4091657 posted 7:47 pm on Mar 4, 2010 (gmt 0)

I have this errors in CSS.I using Mozilla Forefox 3

scrollbar-face-color doesn't exist : #fffff6
Property zoom doesn't exist : 1
Property _height doesn't exist : 0
Property progid doesn't exist : DXImageTransform
Property -moz-opacity doesn't exist : 0.6
Property _margin doesn't exist : 0
Property align doesn't exist : center
Property _width doesn't exist : 49.8%
Property behavior doesn't exist : url(pngbehavior.htc)
Property _padding doesn't exist : 0

help me please.

 

rocknbil

WebmasterWorld Senior Member rocknbil us a WebmasterWorld Top Contributor of All Time 5+ Year Member



 
Msg#: 4091657 posted 3:56 am on Mar 5, 2010 (gmt 0)

Welcome aboard Stepas. I don't know what the ones with underscores are, perhaps someone will enlighten us. I do know the other ones are proprietary, meaning, they are only for specific browsers and not in the spec for the doctype you are using. It's not likely those will ever validate.

jennyj

5+ Year Member



 
Msg#: 4091657 posted 3:45 pm on Mar 5, 2010 (gmt 0)

I am assuming you are intentionally using underscore hacks to target IE6 and lower only, scrollbar-face-color is not a valid css reference, but an IE specific 'fix', the behaviour file is a fix for IE failing to understand png transparency, DXImageTransform is are also an IE specific 'fix', zoom is a IE specific fix to solve 'hasLayout' issues - you can safely ignore the error about -moz-opacity - that is a completely valid forward compatible extension to css
there is no align:center property.

If you want to hide these validation errors from the validator, put them (apart from the -moz-opacity) in an IE conditional comment

Stepas



 
Msg#: 4091657 posted 9:16 am on Mar 7, 2010 (gmt 0)


jennyj

Property -moz-opacity doesn't exist : 0.6

True or not? This existing only for Netscape and Mozilla Firefox browsers?

O maybe it is only for IE?

jennyj

5+ Year Member



 
Msg#: 4091657 posted 8:25 am on Mar 8, 2010 (gmt 0)

Hi there Stepas,
the validator does not recognise the completely valid -moz prefix.
This is a vendor specific prefix for specifications that are not yet standard.
In css3, the property is opacity, because it was not fully standardised, browser vendors are allowed to use vendor prefixes to provide additional functionality.
Thus, you can safely ignore this validation error.

Global Options:
 top home search open messages active posts  
 

Home / Forums Index / Code, Content, and Presentation / CSS
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved