W3C home > Mailing lists > Public > www-style@w3.org > June 2003

Re: display property

From: Bill Mason <w3c@accessibleinter.net>
Date: Thu, 26 Jun 2003 10:53:30 -0700
Message-Id: <5.2.0.9.0.20030626105220.00ba9690@accessibleinter.net>
To: Jens Meiert <jens.meiert@erde3.com>, www-style@w3.org

At 10:45 AM 6/26/2003, Jens Meiert wrote:
> > By default, everything is 'display: inline'.
>
>That's not true. Simply test a page including
>
>       <p>A paragraph.</p>
>       <p>A second paragraph.</p>
>       <p>Yes, a third.</p>
>
>and look at it. Now add
>
>       p { display: inline; }
>
>to your CSS and see the result. There is no 'display: inline' default, in no
>browser.

The point was that the default value of display in CSS2/CSS2.1 is inline, 
not that any particular UA defaults to using inline.  As already noted, 
most will make the default "block" in their own internal stylesheets.

Bill Mason
Accessible Internet
w3c@accessibleinter.net
http://www.accessibleinter.net/ 
Received on Thursday, 26 June 2003 13:55:24 GMT

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