W3C home > Mailing lists > Public > www-style@w3.org > January 2000

Re: Line boxes

From: Ian Hickson <py8ieh@bath.ac.uk>
Date: Sat, 15 Jan 2000 06:01:58 +0000 (GMT)
To: Matthew Brealey <thelawnet@yahoo.com>
cc: www-style <www-style@w3.org>
Message-ID: <Pine.GSO.4.04.10001150559390.10019-100000@amos.bath.ac.uk>
On Thu, 16 Dec 1999, Matthew Brealey wrote:

>> Vertical margins have absolutely no effect on inline elements.
> That's as may be, as things stand, but it is nonsensical to adopt
> such an approach because:
> 1. it reduces flexibility
> 2. vertical borders clearly _must_ be and are allowed on inline
> elements, and since they only differ (aside from other, irrelevant
> differences) in that one is coloured and the other is not, if you
> allow borders, you must allow margins.

Vertical margins are, indeed, allowed. But because they are
transparent and because the padding/border/margin properties do not
affect the _layout_ (only the painting) of the document, the net
result is that vertical margins on inline elements have no visible
effect. They may be present, but are invisible.

-- 
Ian Hickson                            ("`-''-/").___..--''"`-._   
http://www.bath.ac.uk/%7Epy8ieh/        `6_ 6  )   `-.  (     ).`-.__.`)
                                        (_Y_.)'  ._   )  `._ `. ``-..-' fL
Member, Mozilla Quality Assurance     _..`--'_..-_/  /--'_.' ,'
Browser Standards Compliance Team    (il).-''  (li).'  ((!.-'    
Received on Saturday, 15 January 2000 01:02:03 GMT

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