html line break at max width code example Example: css line break width span { display:block; width:150px; word-wrap:break-word; }