In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-02-23 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >
Share
Shulou(Shulou.com)06/01 Report--
In this article, the editor introduces in detail "how to set digital non-wrapping lines in CSS". The content is detailed, the steps are clear, and the details are handled properly. I hope this "CSS how to set digital non-wrapping lines" article can help you solve your doubts.
The code is as follows:
Width: 200px; / * the width must be defined in accordance with the demand setting, and the equipment can be set 100% * / word-break: break-word; / * any word in the text line * / word-wrap: break-word; / * IE * / white-space:-hp-pre-wrap; / * HP printers * / white-space:-Omura prerape; / * Opera 7 * / white-space:-pre-wrap / * Opera 4-6 * / white-space:-moz-pre-wrap; / * Mozilla * / white-space: pre; / * CSS2 * / white-space: pre-wrap; / * CSS 2.1 * / white-space: pre-line; / * CSS 3 (and 2.1as well, actually) * /
You can add the above code to the objects that need to be forced to wrap. Truly serve as various major readers, consider the compatibility of several major browsers to wrap lines, and design non-space numbers and letters that do not wrap on the right side after too many letters.
After reading this, the article "how to set digital non-wrapping lines in CSS" 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: 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.