Word-wrap: Allows splitting of long, indivisible words and wrapping to the next line. (same effect in English and Chinese)Word-wrap has two values:1. Word-wrap:normal: line breaks only allowed hyphenation points (the browser keeps the default
Hello 111111111111111111111111111111111111111111111111111aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa No wrapping!Add Style:style= "Display:inline-block; width:60%; word-wrap:break-word;white-space:normal;"Because span is not a block
Word-break and word-wrap are the same in many cases. They did not see the difference one morning.
Example:
. Mbox H2 span. top_notice {Font: normal 12px ""; position: absolute; Right: 10px; bottom: 1px; line-Height: 40px; padding-left: 20px;
css| Web page
Use Div to layout, the proposed div should be used to organize the code structure, now we go a little deeper, Div has semantics?
The question was hotly debated in the study group some time ago, when Rice was asked: "What is semantic
Css
Use Div to layout, the proposed div should be used to organize the code structure, now we go a little deeper, Div has semantics?
Division (split), right, a while ago browsing w3schools, see it is so defined div: the div tag defines a
Css
One months, I'm back, okay, let's keep talking.
In the previous article, the main negation of the use of Div layout this argument, the proposed div should be used to organize the code structure, now we go a little deeper, Div has semantics? The
SPAN {word-break:Normal;Width:Auto;Display:Block;White-space: Pre-wrap; Word-wrap: Break-word;Overflow:Hidden ;}
White-space -- control the layout of text displayed on the page through the source code of HTML documentsValue: normal | pre |
Today met a demand, customer registration page customized a super long registration notice, a lot of content. But the style is relatively nice to do.The content of the registration notice is made using multiple message stitching.Boss said Rawtext
Use JQuery. lettering. js to customize multi-line text styles and jquery custom events
A friend from an advertising company sent for help a few days ago, saying: "A project requires Dynamic Splitting of strings, and then different style effects are
A few days ago, a friend in the advertising agency asked for help, said: "There is a project requires the implementation of the string dynamic split, and then split the characters using different style effects ...", hear this demand, I have a little
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.