homepage Welcome to WebmasterWorld Guest from 54.197.215.146
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Become a Pro Member

Home / Forums Index / Code, Content, and Presentation / CSS
Forum Library, Charter, Moderator: open

CSS Forum

    
CSS error using W3C
Stepas




msg:4091659
 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




msg:4091899
 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




msg:4092131
 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:4092874
 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




msg:4093175
 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