In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-16 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Internet Technology >
Share
Shulou(Shulou.com)06/02 Report--
Editor to share with you Dreamweaver how to solve the problem of space in web page production, I believe that most people do not know much about it, so share this article for your reference, I hope you can learn a lot after reading this article, let's go to know it!
Dreamweaver is a very easy-to-use but powerful web page making software. However, it is another question that puzzles many beginners. That's the space. Using spaces in Dreamweaver is not nearly as convenient as it is in word. For example, there is no space in the first line or more than one space in the middle of a sentence. What is the reason? This is because more than one space is ignored in the HTML language. This leads to the difficulty of spaces.
How to solve the space problem of Dreamweaver well? There are many solutions:
1. Make a small transparent picture. Embed into the text or at the beginning of a line. This method is troublesome to implement.
2. Use full-width spaces. Why is this scheme feasible? Because full-width spaces are relatively easy to implement. Although it is also a space, the corresponding HTML code is not a space code. It's another code, so Dreamweaver treats it as a character rather than a space. So we can get along with each other. However, it seems to be garbled in browsers that do not support Chinese character sets.
3. Use soft spaces. That is, press the Ctrl shift space where you want to insert the space. Such spaces can be recognized by all browsers. But the disadvantage is that you can't see how many spaces are inserted when you edit the page, and you can only see it clearly when the browser previews it. It's not intuitive enough. Soft spaces actually use code. It's an uninterrupted space mark. He can generate soft spaces. Every time you click the Ctrl shift space, you add a code.
The code is simple, but it is also very useful. We have to rely on this code to help us free up one or more lines when doing a web page. Friends who have studied HTML language will know it.
Tags are used to mark a paragraph. If you just write
Can this code generate blank lines? This is invalid. Must be in
Add ";" code to the tag.
This kind of code will have a blank line effect. Here the mark also plays a role in occupying the position. In addition, if you use Dreamweaver to generate a table, you will find when you look at the source code. There is this tag on the page in the cell tag. If you delete these tags, you will find that all the cells are squeezed together. It is impossible to fill in the content. You have to drag the border.
The above is all the contents of the article "how to solve the problem of spaces in web page making by Dreamweaver". Thank you for reading! I believe we all have a certain understanding, hope to share the content to help you, if you want to learn more knowledge, welcome to follow the industry information channel!
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.