I suspect that the OP miss-stated the problem. From my understanding, he wants 
the BGcolor to extend for _only_ the width of the TEXT, not for the entire 
width of the element.

Regards,
Mike


-----Original Message-----
From: [EMAIL PROTECTED] on behalf of Stuart Foulstone
Sent: Tue 12/2/2008 6:59 AM
To: wsg@webstandardsgroup.org
Subject: Re: [WSG] inline-block effect
 
Am I confused? I thought <h2> was a block-level element.



On Mon, December 1, 2008 6:32 pm, Andrew famiano wrote:
> I'm trying to set a background color on a <h2>. I want the background to
> be
> the same width as the header. Since inline-block isn't supported by all
> browsers, is there another trick in doing this?
>
> Thanks
>
>
> *******************************************************************
> List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm
> Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm
> Help: [EMAIL PROTECTED]
> *******************************************************************




*******************************************************************
List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm
Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm
Help: [EMAIL PROTECTED]
*******************************************************************




*******************************************************************
List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm
Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm
Help: [EMAIL PROTECTED]
*******************************************************************

<<winmail.dat>>

Reply via email to