Wrapping Long URLs and Text Content with CSS

By default, the white-space property is set to normal. So you might have problems when trying to force long URLs and other continuous strings of text to wrap. To force long, continuous strings of text to wrap within the width of our <pre> content or other block-level element, such as <div> and <p>, we need a different value for the white-space property. Here are our options…

chevron_left
chevron_right

Leave a comment

Your email address will not be published. Required fields are marked *

Comment
Name
Email
Website