how to remove Word generated css styles

  • Thread starter Thread starter lord harry
  • Start date Start date
L

lord harry

I have been pasting tables from word into pages using FP
2003. All I want is a simple table with no formatting
that will adopt the styles set in my css file.
Unfortunately each cell has word-generated baggage when
pasted. Such as:

style="width: 411.0pt; border-left: medium none; border-
right: 1.0pt solid windowtext; border-top: 1.0pt solid
windowtext; border-bottom: 1.0pt solid windowtext;
padding-left: 5.4pt; padding-right: 5.4pt; padding-top:
0cm; padding-bottom: 0cm"

The paste using destination styles doesn't remove it, and
neither does the word html cleanup tool. How do I remove
this without complicated find and replace statements,
bearing in mind that some of the tables are very large
and hence I want to keep the code to a minimum?

Thanks in advance
 
Try the approach at
http://sbrenjoy.bizland.com/frontpage/word.htm

--




| I have been pasting tables from word into pages using FP
| 2003. All I want is a simple table with no formatting
| that will adopt the styles set in my css file.
| Unfortunately each cell has word-generated baggage when
| pasted. Such as:
|
| style="width: 411.0pt; border-left: medium none; border-
| right: 1.0pt solid windowtext; border-top: 1.0pt solid
| windowtext; border-bottom: 1.0pt solid windowtext;
| padding-left: 5.4pt; padding-right: 5.4pt; padding-top:
| 0cm; padding-bottom: 0cm"
|
| The paste using destination styles doesn't remove it, and
| neither does the word html cleanup tool. How do I remove
| this without complicated find and replace statements,
| bearing in mind that some of the tables are very large
| and hence I want to keep the code to a minimum?
|
| Thanks in advance
|
|
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top