html - side effects of always using word-wrap: break-word -


it seems word-wrap: break-word (and other browser specific versions) commonly used user generated comment may run long. seems me doing word-wrap: break-word on entire webpage convenient , relatively easy safety net without having specifying everywhere. did quick sanity check , can't think of how may break things. there side effects watch out before doing * {word-wrap: break-word} ?

there shouldn't side-effects if goal break long words , display them on next line... mean:
abcdefghijklmnopqrstuvwxyz

will become

abcde
fghij
klmno
pqrst
uvwxy
z

or depending on width of page, i.e, word breaks.


Comments

Popular posts from this blog

android - MPAndroidChart - How to add Annotations or images to the chart -

javascript - Add class to another page attribute using URL id - Jquery -

firefox - Where is 'webgl.osmesalib' parameter? -