|
Bill Seper -> RE: placing a word document in web page (1/15/2002 23:08:40)
|
Hey, ya know, I think I just figured out the biggest problem with it. If you create a text in Word and then copy it to Notepad and then into FP--no problem. Unless you use indents. Notepad will remove those. And for the heck of it I pasted the Word code directly into FP with the indents and boy did it not like that! Gave extra breaks to it. Well, you can make text in Word without indents and then paste to Notepad and then FP and no problem. You can also reverse the process, afterwards highlighting everything you just pasted into Word from FP and chose "Normal" from the stlye menu and it changes it to a Normal Word Doc with no problem. But (and this is the clincher), if you create text in FP normal view, you'll find that FP creates a <p> closing tag </p> for every new paragraph you make. That's what screws things up--it's the ending tag. Now create text in word and then place it in Notepad and then FP. Look at the html view. Aside from the long strings of text you'll notice that there's only one paragraph tag at the top of the page and then one closing tag at the bottom after the last line of text. You can go back and forth all day without screwing anything up because there's no html closing tags being created that way. It's only when you create text in FP that you get those. It's that darn closing tag. Here's a thought: I don't have Dreamweaver on my machine anymore but it used to have a FP cleanup feature that would automatically remove closing tags that weren't really needed such as the </p> tag. I wonder what would happen if you took text you created in FP and then put it through Dreamweaver's cleanup function. Then took the text from Dreamweaver, put it into Word, highlighted it, and clicked "Normal" in the style box. Bet that would do the trick.
|
|
|
|