W3C home > Mailing lists > Public > www-style@w3.org > September 1998

Re: border on broken line boxes (was Re: 14.2.1 'background-position' - block level only?)

From: Ian Hickson <exxieh@bath.ac.uk>
Date: Tue, 8 Sep 1998 22:58:36 +0100
Message-ID: <001601bddb73$f4beaa20$cb20268a@hpxu>
To: Jan Roland Eriksson <d.tek.jre@ebox.tninet.se>, Tantek Celik <tantek@cs.stanford.edu>
Cc: www-style@w3.org
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

>>          +-------------------
>> Several  |emphasized words,
>>          +-------------------
>> -----------------------------
>> enough to break across more
>> -----------------------------
>> ---------------+
>> than two lines,| appear here.
>> ---------------+
>>
>>             fig. 1
> Only and _absolutely_ only if the line-height property has been set to a
> value greater than 1.0 of current font height. The padding property
> could then be used to "close" the "gap" between lines again of course.
True.

>>
>>          +-------------------
>> Several  |emphasized words,
>> ---------+-------------------
>> enough to break across more
>> ---------------+-------------
>> than two lines,| appear here.
>> ---------------+
>>
>>             fig. 2
> That's the way it should be for { line-height: normal; padding: 0 }
> (i.e. for their initial values) where I would like "normal" to be equal
> to exactly 1em.
Good point. I had forgotten about line-height, and stand corrected.

To be exact, Fig 2 is the way it should be for { line-height: 1.0; padding:
0; }, since the value of normal is UA dependant.

- -- 
Ian Hickson - visit web page for geek code
http://www.bath.ac.uk/~exxieh/
PGP Public Key available on main PGP servers. Fingerprint:
85F7 0D50 A3D1 82AE 4F81  16D4 9670 02D4 7290 F4E0

-----BEGIN PGP SIGNATURE-----
Version: PGP 5.5.5

iQA/AwUBNfWogZZwAtRykPTgEQISAACg5mcLMT9nOG3YH/USDIelHEoH0UYAoOzi
On4kc/KYY8QB1PCa3c3edemy
=pcVK
-----END PGP SIGNATURE-----
Received on Tuesday, 8 September 1998 18:07:09 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 27 April 2009 13:53:56 GMT