> Brett Patterson
> what does OP mean?
Original Poster, i.e. the one who started this thread.
P
Patrick H. Lauke
Web Editor
Enterprise & Development
University of Salford
Room 113, Faraday House
Salford, Greater Manchester
M5 4WT
UK
T +44 (0) 161 295 4779
[EMAIL
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
>
>
:59 AM
To: wsg@webstandardsgroup.org
Subject: Re: [WSG] inline-block effect
Am I confused? I thought 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 . I want the background to
> be
> the same width
It is. At least as far as I knew it to be. This is why I said to use the
span tag.
On Tue, Dec 2, 2008 at 1:59 AM, Stuart Foulstone <[EMAIL PROTECTED]>wrote:
> Am I confused? I thought was a block-level element.
>
>
>
> On Mon, December 1, 2008 6:32 pm, Andrew famiano wrote:
> > I'm trying to se
Am I confused? I thought 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 . 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
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 coul
or you could just do Your Header Text
Here.
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
> inline-block for all and {dis
I'm trying to set a background color on a . 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
Give this a try:
Here is my header with a background color
It worked okay from my end on
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 . I want the background
to be the same width as the header. Since inline-block
I'm trying to set a background color on a . 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://webst
10 matches
Mail list logo