Meta:Guidelines: Difference between revisions
Jump to navigation
Jump to search
| Line 68: | Line 68: | ||
<syntaxhighlight lang="text" line style="height:15em; overflow:auto;"> | <syntaxhighlight lang="text" line style="height:15em; overflow:auto;"> | ||
Long code, spans entire width of the page | Long code, spans entire width of the page | ||
If your code is longer than, say, 50 lines, you can add a style attribute to introduce a scrollbar, as sampled here. For a 50-line cutoff, use style="height:50em; overflow:auto;". | |||
Note that this method will cause the print version of the page to cut off the code at the line limit mark and not print the rest of the code. | |||
I might fix that, but if it's really crucial to have an entire page full of code, you should probably give it a separate page. | |||
<!-- start slipsum code --> | <!-- start slipsum code --> | ||
Normally, both your asses would be dead as fucking fried chicken, but you happen to pull this shit while I'm in a transitional period so I don't wanna kill you, I wanna help you. But I can't give you this case, it don't belong to me. Besides, I've already been through too much shit this morning over this case to hand it over to your dumb ass. | |||
Like | You think water moves fast? You should see ice. It moves like it has a mind. Like it knows it killed the world once and got a taste for murder. After the avalanche, it took us a week to climb out. Now, I don't know exactly when we turned on each other, but I know that seven of us survived the slide... and only five made it out. Now we took an oath, that I'm breaking now. We said we'd say it was the snow that killed the other two, but it wasn't. Nature is lethal but it doesn't hold a candle to man. | ||
<a href="http://slipsum.com">lorem ipsum</a> | |||
</syntaxhighlight> | </syntaxhighlight> | ||