Part of nevow View Source
text = "Hello lots of text " * 20 line(width='100%')[ box(width='50%')[text], box(width='50%')[text]] # Note there is a mozilla bug right now where the second, flowing percentage is calculated using only # the empty space, so the second value here would have to be 100%; This module will soon add browser # sniffing to detect if mozilla is being used and adjust percentages accordingly. For now, use pixel, em, or # point values instead.Experimental feature: Keyword arguments to the line and box protos are converted into css styles: box(color='red') => <span style="color: red" />
If you use border, padding, or margin, mozilla shows weird rendering artifacts. background color and background images generally appear to be safe.
It doesn't appear to be possible to set the vertical-align in some cases in mozilla.