I've mostly used the good old MkI delete key - the most-used key on my
keyboard.  When I started renovating web sites, and using word docs and
FrontPage sites, I tried using automated methods - search and replace and
the like - and found there was always something left.  A single <b> or a <i>
somewhere that affected half the remaining page.  Or a <font> tag that
didn't exactly match the search criteria so it would be left.  Or a table
that I really did want kept would be deleted.    These fixes I found would
often take just as long as going through the page and deleting stuff in the
first place.

Another way is to select/copy from the rendered page in a browser.  That way
you only pick up the content if you get the select right, and you don't pick
up all the associated table structure.

Dreamweaver has powerful search and replace functions.  For example, you can
have it delete all <font> tags, regardless of the attributes, or all <span>
tags.   And with a single click you can convert the file to XHTML.  It'll go
through the file closing off tags, fixing case, adding quotes to attributes
etc.   

And Dreamweaver's Word Clean-up function is magic.   Watch it reduce a
simple word html document of 500 lines to about 50 or fewer with no change
in the rendered content! 

Cheers
Mike Kear
Windsor, NSW, Australia
AFP Webworks
http://afpwebworks.com


-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On
Behalf Of Lea de Groot
Subject: Re: [WSG] technique of converting to tablefree layout
[snip]
Yes, once someone said 'regexp' i went Doh! and got on with the job :)
What can I say, except I have a headcold? 
:)

Thanks, all
Lea
-- 
Lea de Groot


*****************************************************
The discussion list for http://webstandardsgroup.org/
See http://webstandardsgroup.org/mail/guidelines.cfm
for some hints on posting to the list & getting help
***************************************************** 

Reply via email to