Forums
View unanswered posts | View active topics It is currently Tue Sep 23, 2014 12:19 am



Reply to topic  [ 2 posts ] 
 W3C CSS Validation error 
Author Message

Joined: Mon Jul 14, 2014 11:15 am
Posts: 1
Post W3C CSS Validation error
This code
Code:
.sf-shadow ul {
   -moz-box-shadow: 4px 4px 4px #808080;
   -webkit-box-shadow: 4px 4px 4px #808080;
   box-shadow: 4px 4px 4px #808080;
   behavior: url(/PIE.htc);
}

gives a
Quote:
Property behavior doesn't exist : url(/PIE.htc)
W3C validation error: is this expected and is there a way around it?


Mon Jul 14, 2014 11:21 am
Profile

Joined: Wed Jul 14, 2010 11:46 am
Posts: 1441
Post Re: W3C CSS Validation error
Yes, it's expected because behavior is an IE-specific property.

I've never found validation of CSS very useful personally, because the rules for handling unknown properties are so clearly defined and consistently implemented that it doesn't really matter.


Thu Jul 17, 2014 10:58 am
Profile
Display posts from previous:  Sort by  
Reply to topic   [ 2 posts ] 

Who is online

Users browsing this forum: Baidu [Spider] and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by STSoftware for PTF.