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

display property

From: Brian V Bonini <b-bonini@cox.net>
Date: 26 Jun 2003 09:20:33 -0400
To: www-style@w3.org
Message-Id: <1056633633.22772.29.camel@gfxdesign>

As I understand it the display property with a value of block will apply
block level formatting to the element it's defined for, e.g. img
{display: block} that being the case why does the recommendation cite
many such examples as:  p{display: block;} is this not redundant since p
is already a block level element and furthermore confusing. First time I
saw this I assumed display:block would apply to the children of the
element containing this property value simply because, why would you
apply display: block to an element that is already a block level
Received on Thursday, 26 June 2003 09:16:11 UTC

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