View Full Version : CSS Validation - Parse Error
chris373651
04-28-2009, 06:57 PM
On all of my pages created with SiteAssist Professional, I am getting the CSS Validation - Parse Error when I run the Web Standards Advisor. The code it is pointing to looks like this:
<style type="text/css" media="all">
<!--
@import url("../siteassistpro_css/content.css");
-->
</style>
What can I do to fix this?
chris373651
04-30-2009, 04:12 AM
Anybody have any ideas on this?
Joe Lowery
04-30-2009, 05:47 AM
Is it possible that your content.css file is not in the designated place?
Otherwise, could you post a URL that we could look over?
Best - Joe
chris373651
04-30-2009, 05:57 AM
^Absolutely, and I guess I should have done that!
I don't want the website to be indexed yet as it's still in prototype mode so I've replaced '.' with 'dot'.
Here is the website www dot TheProfitableGroup dot com
I have changed the code and the directory structure a bit since I began this thread.
<style type="text/css" media="all">@import url("../css/content.css");</style>
chris373651
04-30-2009, 06:10 AM
And I've checked the css file. It is in the correct location and since this is template based, the link to the css files is automatically updated depending on where the page is located.
The pages all work great and the styles are importing correctly. It is just the Zeldman's Web Standards Advisor>Web Validation where this error comes up. I am guessing that the W3C is saying that this doesn't fit within the XHTML 1.0 Strict standards?
Joe Lowery
04-30-2009, 06:44 AM
Looks like we're parsing something improperly, because when I check it directly with the W3C service, it validates. I'll file the bug and try to figure out why it is flagging it. Thanks for reporting it!
Best - Joe
vBulletin® v3.8.1, Copyright ©2000-2012, Jelsoft Enterprises Ltd.