blob: 5722f7e19d428da39d653bd58003a9752b26d112 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
[[!comment format=mdwn
username="http://jasonwoof.com/"
nickname="JasonWoof"
subject="wrapping css"
date="2013-03-20T20:28:04Z"
content="""
You can do this in css:
word-wrap: break-word;
That should make the text not leave the box. Not sure if this makes it break \"reasonably\" though, eg a two letter word followed by an 200 letter \"word\" would probably leave the two letter word on a line by itself.
Worth a try though.
Seems to be well supported on browsers: [http://caniuse.com/#search=wrap](http://caniuse.com/#search=wrap)
"""]]
|