beautypg.com

Create a link to a word or excel document, Use html formatting – Adobe Dreamweaver CC 2015 User Manual

Page 281

background image

274

Page content and assets

Last updated 6/3/2015

• Select File > Import > Word Document or File > Import > Excel Document.

3

In the Insert Document dialog box, browse to the file you want to add, select any of the formatting options from the
Formatting pop-up menu at the bottom of the dialog box, and then click Open.

Text Only

Inserts unformatted text. If the original text is formatted, all formatting will be removed.

Text With Structure

Inserts text that retains structure, but does not retain basic formatting. For example, you can

paste text and retain the structure of paragraphs, lists, and tables, without retaining bold, italics, and other
formatting.

Text With Structure Plus Basic Formatting

Inserts both structured and simple HTML-formatted text (e.g.,

paragraphs and tables, as well as text formatted with the b, i, u, strong, em, hr, abbr, or acronym tag).

Text With Structure Plus Full Formatting

Inserts text that retains all structure, HTML formatting, and CSS styles.

Clean Up Word Paragraph Spacing

Eliminates extra space between paragraphs when you paste your text if you

selected Text With Structure or Basic Formatting.

The contents of the Word or Excel document appear in your page.

Create a link to a Word or Excel document

Note: The user interface has been simplified in Dreamweaver CC and later. As a result, you may not find some of the
options described in this article in Dreamweaver CC and later. For more information, see

this article

.

You can insert a link to a Microsoft Word or Excel document in an existing page.

1

Open the page where you want the link to appear.

2

Drag the file from its current location to your Dreamweaver page, positioning the link wherever you want.

3

Select Create A Link, and then click OK.

4

If the document you are linking to is located outside of your site’s root folder, Dreamweaver prompts you to copy the
document to the site root.

By copying the document to the site’s root folder, you ensure that the document will be available when you publish
the website.

5

When you upload your page to your web server, make sure to upload the Word or Excel file, too.

Your page now contains a link to the Word or Excel document. The link text is the name of the linked file; you can
change the link text in the Document window if you wish.

Use HTML Formatting

Note: The user interface has been simplified in Dreamweaver CC and later. As a result, you may not find some of the
options described in this article in Dreamweaver CC and later. For more information, see

this article

.

While CSS is the preferred method for formatting text, Dreamweaver still lets you format text with HTML.