This is Interesting: Free Magazines for Graphics designers and webmasters  


Home > Archive > Stylesheets > November 2006 > Site inline Style Analyzer





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author Site inline Style Analyzer
MIS Director

2006-11-05, 11:33 pm

Is there any tool out there that will analyze an entire website and
produce a report of inline style usages by both total count and detail
occurrances. This would produce a list of possible candidates to put in
the css and replace those occurrances with the style or class in pages.
Just to do a search of style tags in Dreamweaver produces a large list
and then blows out dreamweaver when attempting to output the XML file.

Andy Dingley

2006-11-05, 11:33 pm


MIS Director wrote:

> Is there any tool out there that will analyze an entire website and
> produce a report of inline style usages


Unix shell scripting, grep, and maybe a first pass through Tidy if the
code is scruffy to start with. You don't buy these tools, you build
them ad hoc.

MIS Director

2006-11-05, 11:33 pm

This is strickly a Windows site.

Gérard Talbot

2006-11-05, 11:33 pm

MIS Director wrote :
> Is there any tool out there that will analyze an entire website and
> produce a report of inline style usages by both total count and detail
> occurrances. This would produce a list of possible candidates to put in
> the css and replace those occurrances with the style or class in pages.
> Just to do a search of style tags in Dreamweaver produces a large list
> and then blows out dreamweaver when attempting to output the XML file.


Inline style by definition defeats the purpose of using CSS. CSS has
organization and logical grouping capabilities and this is what makes
CSS superior and better to using attribute specifications and elements
for presentation purposes. Instead of applying and repeating style
declarations at each element, one uses a stylesheet (local, external or
imported) where groups of elements (logically organized, grouped
together) are styled at the same time.

What Every Web Site Owner Should Know About Standards: A Web Standards
Primer
What is the separation of content and presentation? Why is it important?
http://www.maccaws.org/kit/primer/

The benefits of Web Standards to your visitors, your clients and you!
7. Why use CSS to separate content from presentation?
http://www.maxdesign.com.au/present...its/index07.htm


Gérard
--
remove blah to email me
Sponsored Links


Copyright 2003 - 2008 forum4designers.com  Software forum  Computer Hardware reviews