- From: Chris Croome <chris@webarchitects.co.uk>
- Date: Fri, 15 Dec 2000 17:15:01 +0000
- To: www-style@w3.org
Received on Friday, 15 December 2000 12:14:59 UTC
Hi Roger
This is a bit of a hack but it should/might work:
h2 span {
background: #066;
padding: 3pt;
}
<h2><span>Heading</span></h2>
Chris
On Fri 15-Dec-2000 at 11:43:15 -0500, Roger Watt wrote:
>
> (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.)
That's the crux of the matter, you want a inline style background on a
block level element!
Chris
--
Chris Croome <chris@webarchitects.co.uk>
work: http://www.webarchitects.co.uk/
play: http://chris.croome.net/
Received on Friday, 15 December 2000 12:14:59 UTC