Skip to content

httpcode/WrappingText

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 

Repository files navigation

This sample shows how to wrap text properly in things like activity feeds etc, where the area for user entered text is well defined.

The magic is with the following styles:

 -ms-word-break: break-all;
     word-break: break-all;
     word-break: break-word;

-webkit-hyphens: auto;
   -moz-hyphens: auto;
        hyphens: auto;

About

Sample html and css to show how to wrap text in a fixed width area (such as activity feeds)

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors