- From: Matthew Brealey <thelawnet@yahoo.com>
- Date: Fri, 21 Jan 2000 02:48:19 -0800 (PST)
- To: www-style <www-style@w3.org>
--- "L. David Baron" <dbaron@fas.harvard.edu> wrote:
> 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?
My view on this is to convert sub and super to a percentage and clip them
when the botttom of the text falls outside the line box.
=====
----------------------------------------------------------
From Matthew Brealey (http://members.tripod.co.uk/lawnet (for law)or http://members.tripod.co.uk/lawnet/WEBFRAME.HTM (for CSS))
__________________________________________________
Do You Yahoo!?
Talk to your friends online with Yahoo! Messenger.
http://im.yahoo.com
Received on Friday, 21 January 2000 05:48:21 UTC