In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-25 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >
Share
Shulou(Shulou.com)06/01 Report--
In this article Xiaobian for you to introduce in detail "html length unit EM how to use", the content is detailed, the steps are clear, the details are handled properly, I hope this "html length unit EM how to use" article can help you solve doubts, the following follow the editor's ideas slowly in-depth, together to learn new knowledge.
Use percentage, percentage to control the width and height of div. The width of the DIV is measured as a percentage of the width and height of the organization.
The actual examples indicate:
1. Set the setting, pen and ink, frame, etc.
2. Configure rest width and height for a DIV (parent)
3. Put the sub-DIV into the DIV here, use the percentage value for the width and height, and observe the use of this percentage value.
Code:
Percentage body {bac kilogram round: # 000; font: normal 14px; margin:0; padding: 0;} / * set the backup, calligraphy, border, etc. * / div {background:#fff; width:450px; height:180px; margin:0 auto; padding:10px; border:4px solid # 090;} div .text {width:60%; height:60%;} / * the height and width of the DIV referred to as text are 60% of the parent DIV.
This div sets the equipment class=text, with a value of 60% width and height
After reading this, the article "how to use html length Unit EM" has been introduced. If you want to master the knowledge points of this article, you still need to practice and use it yourself to understand it. If you want to know more about related articles, 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: 201
*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.