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

Re: width of content+padding versus border+margin

From: fantasai <fantasai@yahoo.com>
Date: Wed, 20 Dec 2000 08:37:21 -0500 (EST)
Message-ID: <3A40B639.FC94EA22@escape.com>
To: www-style@w3.org
Roger Watt wrote:
> 
> I'm trying to create H2 output such that the content appears with a
> background colour that occupies an area only moderately larger than the
> content itself. 
<snip>
> (PS: I get the desired content/background effect by declaring the H2 to be
> "inline" instead of "block", but I want a block-mode heading.)

Is there any reason why shrink-wrap capabilities shouldn't be added to the
width property?
Received on Wednesday, 20 December 2000 09:47:53 GMT

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