Sent by Eric Dols/Groupe Chronos on 14 December 2003 14:02
----- Original Message -----
From: "Don Spark" [EMAIL-REMOVED]>
To: [EMAIL-REMOVED]>
Sent: Saturday, December 13, 2003 8:02 AM
Subject: RE: [css-d] MSword to HTML for CSS/estim cost/200 pages of
documents
> thanks to Steven, Russell and Don Stephani,
>
so what i pointed to myself sucked that much ? ;)
> I saved from WORD to HTML, ran the "cleanup word HTML" command in
> Dreamweaver and then ran "TIDY". The HTML is looking good but
> still lots of redundant "SPAN" tags I would like to convert...
> is there a good CSS program that you can tell to take batches
> of SPAN tags and change them?
>
Hard to answer without specific info.
Dreamweaver has a nested, empty and redundant tags cleaning function too.
Same if you have just a small list of SPAN cases to convert to something
else,
or want them completely removed, try and use the search & replace in
Dreamweaver.
As for MS Word->structured (x)html+specific css classes, my opinion
on a general level is that converting all relevant MS Word style info that
has it's equivalent in the content-part css sheet and dropping anything
else (including inline <span style stuff) would be the cleanest solution,
in the perspective of a content management system, where content
display would also be 100% handled via css only.
Not sure if the TIDY method or Dreamweaver's MS html clean up
can help converting recurring <span inline styles into <span class.
It's probably the characters level MS-Word styling that's the biggest
problem for such a clean convertion.
Anyone with an example that would show otherwise,
before i try and adapt the MS Word macro i mentionned
in a earlier post (i'll need to do a similar job when a site
re-designing i'm on will be completed) ?
/eric
______________________________________________________________________
css-discuss [EMAIL-REMOVED]]
http://www.css-discuss.org/mailman/listinfo/css-d
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/