Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 5 of 5
  1. #1
    New Coder
    Join Date
    Jul 2002
    Posts
    28
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Copying from Word to FrontPage creates unneeded tags

    When I copy text from Word to FrontPage, it generates a lot of extra unneeded icons, like this:

    <p class="MsoPlainText" style="margin-left:.25in"><span style="mso-fareast-font-family:
    &quot;MS Mincho&quot;">This morning early I was out walking up and down
    Washington Street over here past a couple of other people out
    walking, and this one guy said, hello, good morning. What did I
    do?<span style="mso-spacerun: yes">&nbsp; </span>I said, hello. It
    is a great morning. I responded!<span style="mso-spacerun:
    yes">&nbsp; </span>Friday, when I was walking into the funeral home, a couple of
    ladies in front of me, they missed the curb along the sidewalk,
    and one of them fell on the sidewalk. I helped her up. I helped
    her get in the building. Made sure the people that worked there
    knew what was going on. I chose to respond. In all the scenarios,
    you wouldn't have done any different. You would have done the same
    thing. It is amazing - a knock on the door, phone calls, maybe
    somebody saying hi, how are you doing, e-mail, maybe somebody
    falls down, you help them up. We know how to respond, we really
    do. <o>
    </o>
    </span></p>

    I removed the font and margin references and got the page to look like I want, but those <span> and <o> tags are just using up space. (I'm not sure what <o> is.)

    If you want to see the page, it is http://www.westernoaks.org/ms020901.htm

    Any thoughts?

    Shirley

    P.S. I didn't type a smiley face; I typed o, then colon, then p.

  • #2
    Regular Coder
    Join Date
    Jun 2002
    Location
    United Kingdom Confused: Often
    Posts
    859
    Thanks
    0
    Thanked 0 Times in 0 Posts
    this is because when you copy from Word it keeps all the formatting, so all the fonts, sizes, and things get copied, the odd tags is frontpage trying to keep it how it was copied but put it into html.

    my advice would be paste in into Notepad first then copy and paste that into Frontpage.

    the <o:p> tag is not valid in HTML 4.01 to my knowledge.
    redhead

  • #3
    Senior Coder
    Join Date
    Jun 2002
    Location
    paris, france
    Posts
    1,216
    Thanks
    0
    Thanked 0 Times in 0 Posts
    front page leaves a trail of script, &nb sp; and oter such tags in its wake

    goto www.jlad.co.uk then click on projects file and view the source code. and now imagine that if there wasnt the fat comment tag where i stated that editing is below. how the hell would you like to find your way around that. i took me forever to edit that site. my advice: drop front page and go for hand coding everything!!! meaning learning languages but thats all for the better
    photoshop too expensive? use the GIMP! www.gimp.org

  • #4
    Regular Coder
    Join Date
    Jun 2002
    Location
    Dallas, Texas
    Posts
    188
    Thanks
    0
    Thanked 0 Times in 0 Posts
    when copying into lots of programs, if you either right click or use the edit menu, use "paste special" instead of paste, and select "unformatted text". this has worked for me.

  • #5
    New Coder
    Join Date
    Jul 2002
    Posts
    28
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Smile

    Thanks for the Paste Special suggestion. It had a choice called "Normal Paragraphs". It works great!

    I had already tried pasting into Notepad first. It was certainly the next best choice. However, each paragraph was stretched across a single line in the HTML code, and it used <br> tags instead of <p> breaks. It seemed a little strange.

    Thanks to everybody for your suggestions.


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •