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

Re: display property

From: Ian Hickson <ian@hixie.ch>
Date: Thu, 26 Jun 2003 11:31:58 -0700 (PDT)
To: Jens Meiert <jens.meiert@erde3.com>
Cc: "www-style@w3.org" <www-style@w3.org>
Message-ID: <Pine.LNX.4.56.0306261129400.3625@dhalsim.dreamhost.com>

On Thu, 26 Jun 2003, Jens Meiert wrote:
>> By default, everything is 'display: inline'.
> That's not true. [paragraphs are display:block]

As I wrote in my original e-mail, the rule

   p { display: block; }

...is actually needed somewhere to get the usual effect that is expected.
User agents put this rule in the user agent stylesheet, so authors do not
have to put it in theirs.

The user agent stylesheet is not the "default". The default is given by
the initial value of the property, which in the case of 'display', is
indeed 'inline'.

Ian Hickson                                      )\._.,--....,'``.    fL
"meow"                                          /,   _.. \   _\  ;`._ ,.
http://index.hixie.ch/                         `._.-(,_..'--(,_..'`-.;.'
Received on Thursday, 26 June 2003 14:31:56 UTC

This archive was generated by hypermail 2.3.1 : Monday, 2 May 2016 14:27:07 UTC