[EMAIL PROTECTED] wrote:
> Writing an internal app for IE 6. Trying to float the H2 so
> that the P wraps to it. It's not happening.
[snip]
> #instructions h2 {
> background:url(/SHF/resources/images/redCornerUpperRight.gif)
> right top no-repeat;
> float:left;
> font-size:120%;
> margin:0;
> padding:.5em 0 0 1em;
> }
h2 is a block level element. It automatically takes full width
when available.
To make it float left and actually have space on the right, you
need to give it a width.
I'm not seeing any id="instructions" on the page you gave the
link to btw, so there could be other causes as well.
--
Els
http://locusmeus.com/
http://locusoptimus.com/
______________________________________________________________________
css-discuss [EMAIL PROTECTED]
http://www.css-discuss.org/mailman/listinfo/css-d
IE7b2 testing hub -- http://css-discuss.incutio.com/?page=IE7
List wiki/FAQ -- http://css-discuss.incutio.com/
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/