[support] JQuery makes z-index useless?
sander-martijn
sander at sander-martijn.com
Thu Sep 13 02:01:07 UTC 2007
Oh man I'm tired - i forgot position:absolute - nothing to do with
drupal, just my own mind failing me. please ignore ;)
sander-martijn wrote:
> I'm having a problem with z-index on an object. I don't use jQuery - I
> know javascript quite well and don't see the point in learning another
> way of doing it. But no matter what z-index I put this div at, elements
> burn through it. I did some searching and the only hint I got was that
> it may be something JQuery is doing, but couldn't find a fix. If I have
> to put some JQuery in my page just to get the z-index working that's
> fine but I'd rather not do the whole thing that way. If it's not JQuery
> does anyone know what might be causing this behavior? I tested it on
> various pages in the site, most of which have no custom javascript or
> other strangeness on them but see the same behavior - z-index seems to
> be completely ignored (including the default way of html working where
> the last element is on top). Anyone else familiar with this?
>
> very straightforward example below:
> css:
> #theOverlay{
> height:1000px;
> width:1000px;
> top:0px;
> left:0px;
> background-color:#000;
> z-index:100; /* i've tried every number here imaginable */
> }
>
>
> html (just before </body>):
> <div id="theOverlay"></div>
>
--
------------------------------------------------------------------------
sander-martijn <mailto:sander at sander-martijn.com>
interface developer | architect
sander at sander-martijn.com <mailto:sander at sander-martijn.com>
www.sander-martijn.com <http://www.sander-martijn.com>
------------------------------------------------------------------------
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.drupal.org/pipermail/support/attachments/20070912/fbbc5e04/attachment.htm
More information about the support
mailing list