Inserting and Formatting Text > Inserting text and objects

 

Inserting text and objects

Add content to your pages by typing or pasting text and inserting objects such as images, tables, and layers.

To add text to your document, do one of the following:

Type text directly into the Document window.
Copy text from another application, switch to Dreamweaver, position the insertion point in the Design view of the Document window, and choose Edit > Paste. Dreamweaver doesn't preserve text formatting applied in the other application, but it does preserve line breaks.

To insert tables, tabular data, images, and other objects into your document, do one of the following:

Use the commands on the Insert menu to insert the specified objects into your document at the insertion point location.
Choose Window > Objects to open the Objects panel. Find the type of object you want and click or drag it to insert the object into the Document window.
For most objects, a dialog box appears, prompting you to select options or to select a file. To bypass these dialog boxes, choose Edit > Preferences, select General, and then deselect the Show Dialog When Inserting Objects option.

Note: To insert multiple consecutive spaces, use Insert > Special Characters > Non-Breaking Space (Ctrl+Shift+Space) or press Enter/Return. (But if you want to line up items in columns, use a table instead.)

You can import tabular data into your document by first saving these files (such as Microsoft Excel files or a database) as delimited text files.

To import tabular data:

1 Choose File > Import > Import Tabular Data, or choose Insert > Tabular Data.
The Import Table dialog box appears.
2 Browse for the file you want or enter its name in the text field.
3 Select the delimiter used when the file was saved as delimited text. Your options are Tab, Comma, Semicolon, Colon, and Other.
If you select Other, a blank field appears next to the option. Enter the character that was used as a delimiter.
4 Use the remaining options to format or define the table into which the data will be imported.
5 Click OK when you're done.