Re: width of content+padding versus border+margin

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 UTC