Formatting quoted code
This snippet simply makes the text wrap when it reaches the walls of its container, in this case, the pre tag, whilst still preserving line breaks and white space cross browser.
URL: http://www.1stwebdesigner.com/design/snippets-html5-boilerplate/www.pathf.com/blogs/2008/05/formatting-quoted-code-in-blog-posts-css21-white-space-pre-wrap/
Report this snippet
Comments
Subscribe to comments