|
Posted by Nate12o6 on 03/01/07 14:19
I would love to give you a link to the live site, but it is a private
box on our intranet.
I swapped the order of the 2 divs but that did not work. Any other
sugestions?
-Thanks
On Feb 28, 10:30 pm, John Hosking <J...@DELETE.Hosking.name.INVALID>
wrote:
> Nate12o6 wrote:
> > Im trying to layor one div over another but am having trouble. Take a
> > look at the code snippet:
>
> Unless you've only got a two-line snippet (and even sometimes in that
> case as well), it's generally better to simply provide a URL.
>
> > <body bgcolor="#ffffff" text="#000000" id="htmlsource">
> > <div id="clientsDiv" style="float: left; width:25%;">
> > <fieldset>
>
> [blah blah snipped]
>
> > </fieldset>
> > </div>
> > <div id="orderDiv" style="float: right; width:70%; height:500px;">
> > <fieldset>
>
> [more blah snipped]
>
> > </fieldset>
> > </div>
> > </body>
>
> [snipped vast quantities of code I never looked at]
>
>
>
> > It looks perfect in Firefox but in IE the loaderContainerClients div
> > will not layor on top of clients. It goes directly underneath.
> > Shouldnt the z-index take care of this?
>
> Try swapping the order of the DIVs in your source, so the right float
> comes *before* the left float:
>
> <div id="orderDiv" style="float: right; width:70%; height:500px;">
> <fieldset>
> ...blah blah and more blah...
> </fieldset>
> </div>
> <div id="clientsDiv" style="float: left; width:25%;">
> <fieldset>
> ...blah blah...
> </fieldset>
> </div>
>
> No, it's not intuitive, but IE rarely is.
>
> HTH.
> --
> John
Navigation:
[Reply to this message]
|