- From: Ian Hickson <ian@hixie.ch>
- Date: Fri, 15 Dec 2000 13:29:57 -0800 (Pacific Standard Time)
- To: Matthew Brealey <webmaster@richinstyle.com>
- cc: www-style@w3.org
On 15 Dec 2000, Matthew Brealey wrote:
>>
>> <style>
>> span {
>> display:inline;
>> background: #066; padding: 3pt;
>> }
>> </style>
>>
>> <H2><span>content</span><H2>
>
> That won't work. Only the text is coloured of inline text - not its padding.
For the record, that's not true, per CSS2, 14.2, sentence 2.
Steve's solution would work fine.
--
Ian Hickson )\ _. - ._.) fL
Netscape, Standards Compliance QA /. `- ' ( `--'
+1 650 937 6593 `- , ) - > ) \
irc.mozilla.org:Hixie _________________________ (.' \) (.' -' __________
Received on Friday, 15 December 2000 16:25:44 UTC