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

Re: width of content+padding versus border+margin

From: Ian Hickson <ian@hixie.ch>
Date: Sat, 16 Dec 2000 12:28:25 -0800 (Pacific Standard Time)
To: Roger Watt <rwwatt@ist.uwaterloo.ca>
cc: www-style@w3.org
Message-ID: <Pine.WNT.4.21.0012161227510.936-100000@HIXIE.netscape.com>
On Sat, 16 Dec 2000, 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. 
> 
>> Would it be an option to serve your documents via a server-side XSLT
>> or Perl transformation script? Or to preprocess your files?
> 
> No. The objective is to do this with a stylsheet.

Then the float solution seems easiest.

Just curious: why is preprocessing out of the question?

-- 
Ian Hickson                                     )\     _. - ._.)       fL
Netscape, Standards Compliance QA              /. `- '  (  `--'
+1 650 937 6593                                `- , ) -  > ) \
irc.mozilla.org:Hixie _________________________  (.' \) (.' -' __________
Received on Saturday, 16 December 2000 15:24:40 GMT

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