How to empty two spaces in dreamweaver

下次还敢
Release: 2024-04-09 00:00:15
Original
1005 people have browsed it

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
Then apply this style to text that requires two spaces:

< p class="empty-two-spaces">Empty two spaces here: Dreamweaver

  • #Use HTML pre-formatted tags:

    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
    Copy after login
  • Note:

    The first method only works for HTML documents.
    • The second method requires CSS knowledge.
    • The third method can only use the space key to space, and cannot use entity references or tabs.

    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!

    Related labels:
    source:php.cn
    Previous article:How to open dreamweaver hyperlink in new window Next article:How to add spaces in dreamweaver
    Statement of this Website
    The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
    Latest Articles by Author
    Latest Issues
    Related Topics
    More>
    Popular Recommendations
    Popular Tutorials
    More>
    Latest Downloads
    More>
    Web Effects
    Website Source Code
    Website Materials
    Front End Template