Insert spaces in Dreamweaver
There are many ways to insert spaces in Dreamweaver:
Method 1: Use the keyboard
- Press the space bar to insert a single space.
- Hold down the Ctrl key (Windows) or the Command key (Mac) and then press the space bar to insert a non-breaking space.
Method 2: Insert Panel
- Open the Insert panel (Window > Insert).
- Click the "Characters" tab.
- Find the space character and click Insert.
Method 3: HTML code
- Add HTML entity code to indicate non-breaking spaces.
- For a single space, use .
Method 4: CSS Style
- Create a CSS style and set the margin or padding properties to the desired space.
Other tips:
-
Non-breaking spaces: Use non-breaking spaces to prevent text from being separated between two lines , such as between first name and last name.
-
Line Spacing: Adjust the vertical space between lines of text using the CSS line spacing property.
-
Text indent: Use the CSS text indent property to adjust the indentation of the first line of a paragraph.
The above is the detailed content of How to hit spaces in dreamweaver. For more information, please follow other related articles on the PHP Chinese website!