Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
CSS styling of PRE tags can be made better: see based on http://www.pathf.com/blogs/2008/05/formatting-quoted-code-in-blog-posts-...
e.g. from http://html5boilerplate.com/ :
pre {
/* www.pathf.com/blogs/2008/05/formatting-quoted-code-in-blog-posts-css21-white-space-pre-wrap/ */
white-space: pre; white-space: pre-wrap; white-space: pre-line; word-wrap: break-word;
padding: 15px;
}
Comments
Comment #1
yukare CreditAttribution: yukare commentedThe example do not work, and if you want you always can do this in your theme.