Iorhael wrote:

> Is there anyway to use relative positioning with float? I need to use
>  a z-index and know that you have to be using absolute or relative 
> positioning in order for it to work...however, I seem to only be able
>  to position the cutout picture on the home page here where I want it
>  using float:right. Is there any way to  mix the two? The z-index 
> works fine with the float in IE and Opera but not Firefox. If not, 
> I'll just remove the second set of dots but I'd like to keep them if 
> possible.
> 
> http://www.drkdesign.com/parkerpennington/

Only Opera - prior to version 9 - won't react on 'position: relative;
z-index: nn;' added to a float. You're missing the first part of that at
the moment, and those older Opera-versions, and IE, are just layering it
correctly because of the way they handle sequence.

So, just add...

.cutout {position: relative; z-index: 1;}

...and all browsers should render the float on top. In fact; they do :-)

        Georg
-- 
http://www.gunlaug.no
______________________________________________________________________
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/

Reply via email to