Reply to Re: Spotting missing styles

Your name:

Reply:


Posted by Benjamin Niemann on 12/29/05 16:00

grant@grantdonovan.co.uk wrote:

> Is it possible to somehow check for missing styles in document. I am
> thing that if a webpage loads and the style is not in the stylesheet
> then something happens. Warning on the page for example.

Such a check does (generally) not really make sense. Both the ID and the
CLASS attributes can be used for other purposes than CSS.
Perhaps there is a tool that performs such a check - but the result would
only be useful to people who restricts themselves to have at least one
matching rule in their CSS for every class and id in the document.

CSS is about the (mostly visual) rendering of a document. Programmatically
checking the CSS for correctness (= produces the intended result) is close
to impossible. So you're left with manual testing anyway - if there is a
rule 'missing' the document will not look (or sound) as you intended. I
can't think of a useful way that some piece of software could free you from
such manual checks.


--
Benjamin Niemann
Email: pink at odahoda dot de
WWW: http://www.odahoda.de/

[Back to original 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

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