[plt-dev] scribble html formatting

From: Matthew Flatt (mflatt at cs.utah.edu)
Date: Fri Mar 6 17:17:40 EST 2009

At Fri, 6 Mar 2009 17:11:45 -0500, Eli Barzilay wrote:
> Speaking about html formatting -- it looks to me like the reason to
> bottom-align all boxes is that it fits well with formatting pieces of
> text, where some of the pieces can be "taller".  But this doesn't work
> well in tables where the taller element is itself some text with
> newlines -- that's very noticeable in the hard to read defproc output,
> which looks like:
> 
>   foo: some contract
>        this text is the contract
>   bar: for bar, not for foo
>   baz: some other contract
> 
> It would be nice to have this render as:
> 
>   foo: some contract
>   bar: this text is the contract
>        for bar, not for foo
>   baz: some other contract
> 
> instead.

`defproc' does render the latter way, because it uses a CSS class to
turn on top alignment (".argcontract td" in "scribble.css"), right?





Posted on the dev mailing list.