Symbols and Lines
Dreamweaver allows you to insert characters that are not located on the standard keyboard. These characters are accessed by selecting HTML in the Insert menu, then selecting Special Characters. Select Other… from the Special Characters submenu to view the Insert Other Character dialog, which contains a list of various characters (Fig. 20.17).
In the next example, we demonstrate how these symbols can be used in a web page, along with Dreamweaver’s horizontal rule feature. Begin by typing
10 ÷ 5 =
Use the Insert Other Character dialog to insert the division symbol. Then, select HTML from the Insert menu and click the Horizontal Rule button. This action inserts a line (hr ele-ment) onto the page directly below the cursor’s position. The line should be selected by default; if it is not, select the line by clicking it once. Using the Property Inspector, set the width to 60 pixels by entering 60 in the W field and selecting pixels from the pull-down menu directly to its right (Fig. 20.18). The other value in the menu, %, sets the line’s length to the specified percentage of the screen. Make the line 5 pixels high by entering 5 in the H field (values in this field always have pixels as their units). Select Left from the Align pull-down menu.
On a new line, type the number 2. Insert another horizontal rule below the 2. Set its height to 10 pixels and width to 100%. The page should now resemble Fig. 20.19.
Copyright © 2018-2020 BrainKart.com; All Rights Reserved. Developed by Therithal info, Chennai.