Allan,
I don't like the content page looking like a puzzle. The text should flow like a river with no obstacles, and not like an urban road with many traffic lights. To give you an incentive to review your suggestion please look at other published works, mostly books. If the book editor chooses to use boxes for the examples -- they always use the same box width, don't they? And if they aren't the book looks bad if you have a few of these boxes on the same page.
Therefore I'm -1 on variable size boxes for <pre> sections. Though I understand your frustration in the current solution.
Thefore, rather than trying to find a bad compromise, the solution I'm suggesting is completely different,
The solution is not to use a bg color for pre sections at all. We use the left vertical bar technique instead. I'll show the new solution when I'm done with other things. The gist is that the <pre> section looks the same as the rest of the text (though using a different font) but has a left vertical bar:
|| some text || ... || more text || ...
This solution is used in books too.
_____________________________________________________________________ Stas Bekman JAm_pH -- Just Another mod_perl Hacker http://stason.org/ mod_perl Guide http://perl.apache.org/guide mailto:[EMAIL PROTECTED] http://ticketmaster.com http://apacheweek.com http://singlesheaven.com http://perl.apache.org http://perlmonth.com/
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
