|
Posted by Nico Schuyt on 10/16/06 01:49
fdossantos.email@gmail.com 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/
Navigation:
[Reply to this message]
|