[pmwiki-users] Re: Example of problem with long code line

chr at home.se chr at home.se
Wed Jan 26 07:49:24 CST 2005


On Wed, 26 Jan 2005, Hans Bracker wrote:

> Wednesday, January 26, 2005, 12:20:14 PM, Robin wrote:
> > On Wednesday 26 January 2005 21:08, chr at home.se wrote:
> >> Try it again, now you should have to scroll...
> > It's a page setup thing, I've put the same text in here:
> > http://www.kallisti.net.nz/Main/WikiSandbox
> > and it doesn't need to scroll, except for that one line (which I
> > think is the best way, I'd like to not have code broken at the window
> > width, it might break the code itself)
> 
> In your example looking at it with IE6 the whole content section is
> dropped below the left menu, breaking the entire layout. In Firefox it
> is okay. But this is more a problem of the skin you use I think.

I also agree that breaking the lines of the preformatted environment is
not possible. Maybe this is simply a page setup thing, but note that this
happens at pmwiki.org (which I think use the default setup/skin)?

	http://www.pmwiki.com/wiki/Test/LongCodeLine

So maybe this is fixed by changing the default?

Another possible solution could be to require preformatted text to be 
preceeded by for instance at least two whitespaces. This number would 
probably need to be tuneable by the administrator (or the user via some 
special markup). I think I've suggested this in a different post - should 
be more details there.

Fixing the page setup does seem like the fastest solution to me.

/Christian

-- 
Christian Ridderström, +46-8-768 39 44               http://www.md.kth.se/~chr





More information about the pmwiki-users mailing list