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…

Leave a Reply

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