[WSG] inline-block effect

2008-12-01 Thread Andrew famiano
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:

Re: [WSG] I am currently away...

2008-12-01 Thread color links
hi how r u? On Fri, Sep 19, 2008 at 5:26 PM, [EMAIL PROTECTED] wrote: I am currently away from the office until Wednesday the 24th of September and will reply to your email then. All the best, Steve Dangerfield. 0403 895050

Re: [WSG] inline-block effect

2008-12-01 Thread Сергей Кириченко
1. float:left 2. position:absolute 3.insert span with bg into H2 and non standart trick inline-block for all and {display:inline; zoom:1}for lte IE 7 Andrew famiano пишет: I'm trying to set a background color on a h2. I want the background to be the same width as the header. Since

Re: [WSG] inline-block effect

2008-12-01 Thread Brett Patterson
or you could just do h2span class=helloYour Header Text Here/span/h2. And in your CSS, .hello {background-color: color;} On Mon, Dec 1, 2008 at 2:16 PM, Сергей Кириченко [EMAIL PROTECTED]wrote: 1. float:left 2. position:absolute 3.insert span with bg into H2 and non standart trick

Re: [WSG] inline-block effect

2008-12-01 Thread Cal Wilson
There is a comprehensive list (with examples) of css 'shrink-to-fit' solutions listed here: http://www.brunildo.org/test/shrink-to-fit.html HTH cal. -- Cal Wilson [EMAIL PROTECTED] Phone: 0404 449 464 Web: http://oxygenkiosk.com On 02/12/2008, at 6:54 AM, Brett Patterson wrote: or you