Difference between revisions of "Talk:Code hacks"
(Duplicate ?) |
|||
(2 intermediate revisions by the same user not shown) | |||
Line 35: | Line 35: | ||
== Duplicate ? == | == Duplicate ? == | ||
− | Duplicate of | + | Duplicate of [[Sty]] ? |
+ | |||
+ | [[User:Epsy|Epsy]] 13:33, 4 May 2007 (CDT) |
Latest revision as of 14:33, 4 May 2007
it unformats when you copy paste the script -_-
TiTnAsS 16:43, 30 October 2005 (CST)
Put it in code tags, <code>my code</code>
--Lucifer 17:21, 30 October 2005 (CST)
I know, i already tried that, it still unformats, it drops all the indents and puts it into just a couple lines.
TiTnAsS 18:27, 30 October 2005 (CST)
Try using pre tags instead. <pre>my code</pre>
--Lucifer 20:33, 30 October 2005 (CST)
<pre> is evil; it prevents line wrapping, which can easily cause code to scroll horizontally. Can I suggest we make a <code class="block"> for such stuff?
Add to common.css:
code.block {
display: block;
}
(yes, I used pre here, but that's because the CSS change isn't implemented yet except in aan_orig)
--Luke-Jr 01:13, 4 November 2005 (CST)
Duplicate ?
Duplicate of Sty ?
Epsy 13:33, 4 May 2007 (CDT)