Created
December 23, 2015 00:19
-
-
Save ryanhanwu/b1cfe1c1b2e315c2ba6a to your computer and use it in GitHub Desktop.
line wrap in PRE
This file contains hidden or 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
| pre{ | |
| height: 120px; | |
| overflow: auto; | |
| font-family: “Consolas”,monospace; | |
| font-size: 9pt; | |
| text-align:left; | |
| background-color: #FCF7EC; | |
| overflow-x: auto; /* Use horizontal scroller if needed; for Firefox 2, not | |
| white-space: pre-wrap; /* css-3 */ | |
| white-space: -moz-pre-wrap !important; /* Mozilla, since 1999 */ | |
| word-wrap: break-word; /* Internet Explorer 5.5+ */ | |
| margin: 0px 0px 0px 0px; | |
| padding:5px 5px 3px 5px; | |
| white-space : normal; /* crucial for IE 6, maybe 7? */ | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment