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 - 25 Oct 2006 10:59 GMT
> 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 - 25 Oct 2006 19:14 GMT
This is strickly a Windows site.
Gérard Talbot - 27 Oct 2006 20:34 GMT
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/presentation/benefits/index07.htm
Gérard
--
remove blah to email me