I have an element structure like this:
<div><span></span>My text goes here</div>
both the div and span are positioned absolutely i want the div to expand out to a certain point then wrap to the next line after say 200px.
At the moment the text breaks pretty much after every other word to a new line, i can fix this by using white-space: nowrap
however this stops the text from wrapping at all.
How can i get the text the wrap but after a certain width?
我不知道我是否知道,但是为什么你不只是把div宽度:200px ;?
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.