Inserting Special Characters


Inserting Special Characters

You can add special characters, such as the Euro, copyright, or trademark symbol, to your page in Dreamweaver without having to remember their bizarre HTML equivalents or odd keyboard combinations. In Dreamweaver, relief is just a menu choice away.

To insert a special character:

1.
Click in the page to place the insertion point where you want the special character to appear.

2.
In the Text category of the Property Inspector, choose the character you want from the Special Characters pop-up menu ( Figure 4.34 ).

Figure 4.34. Insert unusual characters from the Special Characters pop-up menu in the Text category of the Insert Bar.


or

Choose Insert > HTML > Special Characters, then choose the special character you want from the submenu.

or

If the character you want doesn't appear in the menu, choose Other Characters from the pop-up menu in the Insert Bar, or choose Other from the Insert > HTML > Special Characters submenu. The Insert Other Character dialog appears ( Figure 4.35 ).

Figure 4.35. The Insert Other Character dialog provides the rest of the special characters Dreamweaver can insert.


3.
Click the character you want to use, then click OK to close the dialog.

Dreamweaver inserts the special character on your page.

About Non-Breaking Spaces

An oddity about HTML is that it ignores multiple spaces. One of the special characters you can insert is the non-breaking space , which is useful for adding multiple consecutive spaces, and also for nudging text and even images. Dreamweaver uses the HTML code for a non-breaking space (which is   ) between paragraph tags so that blank lines appear in Web browsers, like so:

 <p>&nbsp;</p> 

If you want multiple spaces between words, insert one or more non-breaking spaces. The easiest way to do this is to press Ctrl-Shift-Space (Cmd-Shift-Space), but you can also use the Special Characters pop-up menu in the Text category of the Insert Bar or the Insert > HTML > Special Characters submenu.

Dreamweaver by default ignores multiple spaces, but you can change this behavior and force the program to insert multiple non-breaking spaces in the code. Choosing Edit > Preferences (Dreamweaver > Preferences), choose the General category, and then select the check box next to "Allow multiple consecutive spaces."





Macromedia Dreamweaver 8 for Windows & Macintosh Visual QuickStart Guide
Macromedia Dreamweaver 8 for Windows & Macintosh
ISBN: 0321350278
EAN: 2147483647
Year: 2005
Pages: 239

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net