Re: line-height (was: inline h*ll)

On Thu, 20 Jan 2000 18:52:14 -0500, JOrendorff@ixl.com wrote:
> 
> Almost nothing should override line-height.  Superscripts and
> subscripts absolutely should *not* affect line spacing.  Very large
> type or images might.

If you only want them to change the line-height when necessary, you
could suggest:

sub, sup {
	line-height: normal; /* or perhaps 1.0 */
	}

This is a reasonable thing to put in the user stylesheet of a browser
(if it isn't in the appendix of CSS2, it probably should be...).  Or,
if you want to be more extreme (and allow the potential for overlap):

sub, sup {
	line-height: 0;
	}

> Unfortunately, the spec already defines a different algorithm.  It's
> okay, just ugly.  Perhaps there should be a property that lets the

I think it's a good thing that, by default, text doesn't overlap.
Would you want your subscripts on one line overlapping your
superscripts on the next?

-David

L. David Baron    Sophomore, Harvard (Physics)    dbaron@fas.harvard.edu
Links, SatPix, CSS, etc.     <URL: http://www.fas.harvard.edu/~dbaron/ >
WSP CSS AC                      <URL: http://www.webstandards.org/css/ >

Received on Thursday, 20 January 2000 20:39:58 UTC