Do you mean CSS-P using css for positioning to replace tables? i doubt it.
Do you mean CSS for style info, to replace <font> and similar tags?
Yes-Kind of.
There are dedicated CSS editors- like TopStyle and others- that can read and
evaluate a page- and replace font tags with css.
also- there's a program/project called HTMLTidy that can strip font tags and
put in styles. There's an extension for windows/dreamweaver, and a plugin
for bbedit/mac
http://www.macromedia.com/software/dreamweaver/special/extensions/#dmx_tidy
http://tidy.sourceforge.net/
TopStyle works on pages or Sitewide- html tidy will work on pages. You can
batch files thru Tidy- but each file will have it's own set of styles in the
head instead of a single external stylesheet. Tidy is valuable for it's
syntax checking regardless though.
Some folks resort to the brute force method- a Regular Expression find and
replace to strip all font tags- then a basic stylesheet that redefines the
body, p , h ,and td tags to cover 98% of the content- and then looking at
the page to see what exceptions should have other classes applied.
Find: in source: </?font[^>]*>
Replace: leave blank.
Put a checkmark in "use RegExp"
NOTE- if site uses templates or library items- run this search pattern on
the templates and library item first- otherwise dw might hit an endless loop
trying to change a locked area.
Quote:
Is there a quick (easy) way to take an existing page and generate a css page
to
replicate the appearance of said page? |
--
Team Macromedia Volunteer for Dreamweaver
Certified Dreamweaver MX Developer