Created
November 20, 2012 17:15
-
-
Save JimBobSquarePants/4119341 to your computer and use it in GitHub Desktop.
Browser specific (not valid) styles to make preformatted text wrap
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* Browser specific (not valid) styles to make preformatted text wrap */ | |
pre { | |
white-space: pre-wrap; /* css-3 */ | |
white-space: -moz-pre-wrap; /* Mozilla, since 1999 */ | |
white-space: -pre-wrap; /* Opera 4-6 */ | |
white-space: -o-pre-wrap; /* Opera 7 */ | |
word-wrap: break-word; /* Internet Explorer 5.5+ */ | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment