The methods for emptying two spaces in Dreamweaver are: 1. Use entity reference code; 2. Create a CSS style with padding-left: 2em; attribute; 3. Use the preformatted tag
. </p></blockquote> <p><img src="https://img.php.cn/upload/article/202404/09/2024040900001562447.jpg" alt="How to empty two spaces in dreamweaver" ></p> <p>##How to empty two spaces in Dreamweaver<strong></strong></p> <p>Method: <strong></strong></p> The method of emptying two spaces in Dreamweaver is as follows: <p></p> <ol> <li> <p>Use entity reference code: <strong></strong></p>Enter the following entity reference code where two spaces are required. : <p></p>For example:<p><p>Two spaces here: Dreamweaver</p><code></code></p> </li> <li> <p>Use CSS Style: <strong></strong></p>Create a CSS style with the following properties: <p></p> <div class="code" style="position:relative; padding:0px; margin:0px;"><pre class="brush:php;toolbar:false"><code class="css">.empty-two-spaces { padding-left: 2em; }</code>Copy after login
< p class="empty-two-spaces">Empty two spaces here: Dreamweaver
Preformat text using the
<p> tag, by default each space in the text is retained as one space. <code></code>For example: </p> <div class="code" style="position:relative; padding:0px; margin:0px;"><pre class="brush:php;toolbar:false"><code class="html"><pre class="brush:php;toolbar:false">这里空两格: Dreamweaver
The first method only works for HTML documents.
The above is the detailed content of How to empty two spaces in dreamweaver. For more information, please follow other related articles on the PHP Chinese website!