How to preserve webpage text in Word Document

Discussion in 'HTML' started by fdossantos.email@gmail.com, Oct 15, 2006.

  1. Guest

    Hello all,

    I would like users to be able to copy text from the web page, then be
    able to paste that text in a word processor, such as MS Word. What I am
    hoping to accomplish is to allow the font-face and font size mirror
    that which is on the website. For instance, the website text is Arial
    10pt. But when it is pasted into a Word document, that text defaults to
    the 'Normal' style, Times New Roman 10pt.

    I know this functionality can be accomplished as I see it across many
    sites. Problem is I cannot isolate what is allowing this seamless
    transition from web page to word processor to occur.

    As an FYI: The site uses CSS for layout and design. No tables or font
    tags are being used.

    Thanks again...
     
    , Oct 15, 2006
    #1
    1. Advertisements

  2. Nico Schuyt Guest

    wrote:
    > I would like users to be able to copy text from the web page, then be
    > able to paste that text in a word processor, such as MS Word. What I
    > am hoping to accomplish is to allow the font-face and font size mirror
    > that which is on the website. For instance, the website text is Arial
    > 10pt. But when it is pasted into a Word document, that text defaults
    > to the 'Normal' style, Times New Roman 10pt.


    > I know this functionality can be accomplished as I see it across many
    > sites. Problem is I cannot isolate what is allowing this seamless
    > transition from web page to word processor to occur.


    > As an FYI: The site uses CSS for layout and design. No tables or font
    > tags are being used.


    I'm not sure, but try specifying a font-family for the elements only instead
    for body:
    p,td {font-family: arial, verdana, sans-serif;}
    instead of
    body {font-family: arial, verdana, sans-serif;}

    --
    Nico Schuyt
    http://www.nicoschuyt.nl/
     
    Nico Schuyt, Oct 16, 2006
    #2
    1. Advertisements

  3. Don Guest

    wrote in news:1160947440.063796.115220
    @e3g2000cwe.googlegroups.com:

    > Hello all,
    >
    > I would like users to be able to copy text from the web page, then be
    > able to paste that text in a word processor, such as MS Word. What I am
    > hoping to accomplish is to allow the font-face and font size mirror
    > that which is on the website. For instance, the website text is Arial
    > 10pt. But when it is pasted into a Word document, that text defaults to
    > the 'Normal' style, Times New Roman 10pt.
    >
    > I know this functionality can be accomplished as I see it across many
    > sites. Problem is I cannot isolate what is allowing this seamless
    > transition from web page to word processor to occur.
    >
    > As an FYI: The site uses CSS for layout and design. No tables or font
    > tags are being used.
    >
    > Thanks again...
    >


    What browser are you using? FireFox or something similar?

    Try with IE and paste into Ms-Word for effectivensss.
    Copy and pasting from any MS product to any other MS product retains font
    and other settings (most of the bloat contributed to Front Page is the
    result of users copying and pasting from Word and into Front Page.)

    In addition MS-Word has no capability for CSS.
    Their own "styles" when implemented into web pages are a farce beyond
    imagination.
     
    Don, Oct 17, 2006
    #3
    1. Advertisements

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

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. =?Utf-8?B?S2V2aW4gSw==?=
    Replies:
    2
    Views:
    3,146
    =?Utf-8?B?S2V2aW4gSw==?=
    Apr 6, 2006
  2. Max
    Replies:
    6
    Views:
    6,405
    Malcolm Dew-Jones
    Sep 17, 2004
  3. srk
    Replies:
    0
    Views:
    832
  4. srk
    Replies:
    0
    Views:
    775
  5. Replies:
    1
    Views:
    915
    Mike Driscoll
    May 11, 2009
  6. Michael G. Schneider

    Modifying a Word document without using Word Automation

    Michael G. Schneider, Dec 15, 2003, in forum: ASP General
    Replies:
    5
    Views:
    506
    el.c. - myLittleTools.net
    Dec 16, 2003
  7. Grzegorz Chrupala
    Replies:
    2
    Views:
    358
    Grzegorz Chrupala
    Jun 30, 2003
  8. Guest
    Replies:
    4
    Views:
    437
    Guest
    May 12, 2006
Loading...