[plt-dev] Scribble-generate HTML documentation is too wide

From: YC (yinso.chen at gmail.com)
Date: Mon Feb 23 14:52:41 EST 2009

On Mon, Feb 23, 2009 at 5:51 AM, Matthew Flatt <mflatt at cs.utah.edu> wrote:

> > 2. Don't enforce a fixed width for the text.  Let user narrow window to
> > fit on screen without having to do horizontal scrolling.
>  Instead of making the whole page body a fixed width, we could apply a
> fixed width to just the elements that need it. But those are exactly
> the elements that you're likely to be reading in the docs, so I don't
> think it would change the effective width of the document.

my approach in case like this is to use horizontal overflow auto scrolling
for the monospace font block, so they do not stretch the parent container if
they exceed parent container's width.  In the case the browser doesn't
recognize the attributes it would behave the way you currently have it.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.racket-lang.org/dev/archive/attachments/20090223/56ab056d/attachment.html>

Posted on the dev mailing list.