PC Review Forums Newsgroups Microsoft Word Microsoft Frontpage how to remove Word generated css styles

Reply

how to remove Word generated css styles

 
Thread Tools Rate Thread
Old 23-01-2004, 08:49 AM   #1
lord harry
Guest
 
Posts: n/a
Default how to remove Word generated css styles


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


  Reply With Quote
Old 23-01-2004, 09:10 AM   #2
Stefan B Rusynko
Guest
 
Posts: n/a
Default Re: how to remove Word generated css styles

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

--

_____________________________________________
SBR @ ENJOY (-: [ Microsoft MVP - FrontPage ]
"Warning - Using the F1 Key will not break anything!" (-;
To find the best Newsgroup for FrontPage support see:
http://www.net-sites.com/sitebuilder/newsgroups.asp
_____________________________________________


"lord harry" <anonymous@discussions.microsoft.com> wrote in message news:269e01c3e196$3edf6e40$a301280a@phx.gbl...
| 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
|
|


  Reply With Quote
Reply



Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off