Discussion on space in making Web pages with Dreamweaver

Source: Internet
Author: User
Tags dreamweaver
Dreamweaver is a very simple, easy-to-use but powerful web-making software. However, it is another problem that many beginners are puzzled about. That's the space. Using spaces in Dreamweaver is far less convenient than in Word. For example, the first line can not be a blank space, the middle of the sentence is not enough. What is the reason? This is because more than one space in the HTML language is ignored. This creates the reason for the difficulty of the space.
 
How to solve the space problem of Dreamweaver well? There are a number of solutions:
 
1, make a very small transparent picture. embedded in the text or at the beginning of the line. This method is more troublesome to achieve.
 
2. Use full-angle spaces. Why is this scenario feasible? Because full-width spaces are simpler to implement. Although it is also a space, but the corresponding HTML code is not a space code. It's another code, so dreamweaver him as a character instead of a space. So it can be peaceful. However, browsers that do not support Chinese character sets appear to be garbled.
 
3, the use of soft space. That is, press ctrl+shift+ space where you want to insert a space. Such spaces can be recognized by all browsers. But the disadvantage is that in the page editing can not see how many spaces inserted, only in the browser preview to see clearly. Not intuitive enough. The soft space is actually using code. is an uninterrupted space-distance marker. He can generate soft spaces. Each click of the ctrl+shift+ space is to add a code.
 
The code is simple, but it works a lot. When we make a Web page we have to work on a line or a few lines to help with this code. A friend who has learned HTML language knows that the

label is used to mark a paragraph. Would it be possible to generate a blank line if the code was written to

? This is invalid. Must be incremented in the

label; code is the only line. Code such as

will have a blank line effect. Here the tag also plays a role in occupying position. In addition, if you use Dreamweaver to generate a table, look at the source code will be found. the page in the label has this tag . If you delete these tags, you'll find all the cells crammed together. There's no way to fill in the contents. You must drag the border.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.