User talk:Armchair

From Wikibooks, the open-content textbooks collection

Jump to: navigation, search

[edit] Delete page reply

Have you seen my reply [1] ? I think this should fix your problem with the preformatting tags, although you need to be tricky to get the style as nice as you had it before. --Whiteknight (Page) (Talk) 14:13, 6 June 2008 (UTC)

I've fixed prettypre so that it now works as expected.

--darklama 14:21, 26 June 2008 (UTC)

I had the chance to check the prettypre template and found that it works best for plain text. When I try to include complex items with pipes there are the expected problems. By the way, the White-space CSS property looks useful for the future. By using the Pre-wrap value it is possible to get wrapping for long lines as well as preformatted text; good for code lines. Unfortunately, it was only included in Firefox with version 3, and I am not sure if IE7 can handle it. Opera 8 and beyond works fine with pre-wrap. Regards, Armchair (talk) 18:54, 11 July 2008 (UTC)

This sequence is not bad and wraps long lines too:

<div  with styles...>
<poem>
<nowiki>
Code goes here...
</nowiki>
</poem>
</div>

or use of source tags with numbering also wraps long lines, assuming numbers are OK for the app. Armchair (talk) 16:47, 4 September 2008 (UTC)