You are here: Re: CSS validator « HTML « IT news, forums, messages
Re: CSS validator

Posted by J.O. Aho on 02/01/07 12:56

fuli open wrote:
> I started to run the CSS validator on my files, and correct mistakes
> until getting the message of 'Congratulations'. But for one file I
> got the following message:
>
> quote
> W3C CSS Validator Results for http://www.pinyinology.com/wheel/
> fortune.html
>
> No error or warning found
>
> No style sheet found
> unquote
>
> the URL is: http://www.pinyinology.com/wheel/fortune.html
>
> It is possible that there is not error or warning. But there is a
> very long style sheet. I wonder whether the validator itself made a
> mistake. It found my file, but didn't do anything.

Could be so that the validator assumes your page is HTML4.01 and the xhtml you
are using makes it to miss the style definitions.

Either use:

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">

or

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">

or

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
"http://www.w3.org/TR/html4/strict.dtd">

--

//Aho

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация