Web Hosting Forum | Lunarpages
News: November 3, 2008 - Enter Your URL in to WIN the November Site of the Month Award!
 
*
Welcome, Guest. Please login or register.
Did you miss your activation email?
November 21, 2008, 07:57:35 AM


Login with username, password and session length


Pages: [1]   Go Down
  Print  
Author Topic: Copy/Pasting from Word Docs that have been saved as html  (Read 847 times)
RickJ
"Tables Guy": In Tattoinese, that translates as
Über Jedi
*****
Offline Offline

Posts: 2652



« on: December 04, 2006, 05:00:36 AM »

I have my client give me Word docs for site updates.  I save the .doc as .html and paste from there.

On one of my computers, the font style she chooses pastes ok in dreamweaver, but on another, the font pastes as Times New Roman.

Is this a Word setting or a Dreamweaver setting?  Where should I look to be sure that all formatting in her Word Document pastes exactly as is in Dreamweaver?

Thanks!
Logged

Rick.
Trying to daydream, but my mind keeps wandering.

Ecumenical Apologetics | Affordable WebsitesSt. Gabriel Radio
Mitch
Lunarpages Traffic Cop
Senior Moderator
Berserker Poster
*****
Online Online

Posts: 8426



WWW
« Reply #1 on: December 04, 2006, 05:07:19 AM »

Well it might be a long way around the problem, but I would say your best bet would be to copy that text as "plain text" before you make the HTML document out of it.  To do this, you could copy and paste it into Notepad first, and then from there clean up anything that doesn't look right - and then copy and paste it from Notepad into Dreamweaver.

That way you would not be copying the font styles as well as the text itself.  Of course, if somebody has a simple solution to the problem - I would hear them out as well.  Thumbs Up
Logged

RickJ
"Tables Guy": In Tattoinese, that translates as
Über Jedi
*****
Offline Offline

Posts: 2652



« Reply #2 on: December 04, 2006, 05:36:29 AM »

I used to do it to notepad first, but there's alot of bold headings, various font sizes, italics, links, etc.

I just can't figure why it posts wonderfully for me on my laptop, but on my PC it does not retain the formatting.
Logged

Rick.
Trying to daydream, but my mind keeps wandering.

Ecumenical Apologetics | Affordable WebsitesSt. Gabriel Radio
philvis
Master Jedi
*****
Offline Offline

Posts: 1064


« Reply #3 on: December 04, 2006, 05:40:05 AM »

Is it an unusual font that is instead displaying as Times New Roman? Is it installed on your pc?
Logged

RickJ
"Tables Guy": In Tattoinese, that translates as
Über Jedi
*****
Offline Offline

Posts: 2652



« Reply #4 on: December 04, 2006, 05:53:02 AM »

No, it's Verdana - which I've got on both. 
Logged

Rick.
Trying to daydream, but my mind keeps wandering.

Ecumenical Apologetics | Affordable WebsitesSt. Gabriel Radio
SteveW
Master Jedi
*****
Offline Offline

Posts: 1394


WWW
« Reply #5 on: December 04, 2006, 07:05:07 AM »

In addition to Mitch's suggestions:

Does DW have an "import file" command that will work with Word files? Try that after saving the .doc as .htm.

And also maybe try it after saving the Word files as .DOC, so DW does the conversion rather than Word.

You can also open the DOC in Word and copy the full text to the clipboard. Then paste it into your page in DW in Design view. If there are various paste options, experiment.

These are the methods I've used in FrontPage, but I assume DW has a parallel feature set. The basic idea is that there are several ways to get text from Word to a web page, and they can give different results.

When all else fails, I use Mitch's method, and that always works, as much trouble as it is.
Logged





Mt. Shasta
photo gallery.


Don't forget Lunarpages 24/7/365 support documentation:
Flash Tutorials, Knowledge Base FAQ Articles, cPanel Manual, Glossary/Dictionary, Support Tickets,
and
Forum Search.

SteveW
Master Jedi
*****
Offline Offline

Posts: 1394


WWW
« Reply #6 on: December 04, 2006, 07:13:40 AM »

If the Word file's text is specified as "Normal" style, and if Word > Tools > Templates and Add-ins specifies "Automatically Update document styles", then it is possible that the file would display, and save, using different fonts in the two different versions of Word.  That is, in one Word version the Normal style might be specified as Verdana font, and in the other Word it might be Times New Roman.  I'm not 100% sure it this would affect the saving and importing the way you describe, but it's worth a look.
Logged





Mt. Shasta
photo gallery.


Don't forget Lunarpages 24/7/365 support documentation:
Flash Tutorials, Knowledge Base FAQ Articles, cPanel Manual, Glossary/Dictionary, Support Tickets,
and
Forum Search.

Berzerker
Intergalactic Cowboy
*****
Offline Offline

Posts: 53



« Reply #7 on: February 17, 2007, 12:42:34 PM »

Set the Font in DW first, open a new page. Go to Modify menu> page properties, you will see the fonts there.

Do not convert Word to HTML. Word HTML code is horrible. Use the import word command from the File menu.  I use DW MX 2004, it may be slightly different in other versions.

Logged

Berzerker<-----Total n00b
Pages: [1]   Go Up
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.6 | SMF © 2006-2008, Simple Machines LLC

Valid XHTML 1.0! Valid CSS! Dilber MC Theme by HarzeM