Sent by David Greenberg on 28 July 2008 22:10
Thank you! The key appears to be moving the JavaScript outside of the
table as you mentioned. When I did that for my application code,
everything worked perfectly.
From:
Adam Ducker [EMAIL-REMOVED]>
To:
[EMAIL-REMOVED]
Cc:
[EMAIL-REMOVED]
Date:
07/28/2008 04:41 PM
Subject:
Re: [css-d] z-index in IE
[EMAIL-REMOVED] wrote:
> Thank you for your reply. I have modified the code as you said, but it
> still does not work in tables. Also, the JavaScript to set the
height and
> width is now broken in Mozilla (not as big of an issue). Your help is
> very much appreciated.
It looks like the Mozilla size issue was your problem, not the CSS.
I made some adjustments to the JS to make it work and all seems fine.
The first thing is that IE and other browsers differ on how to set
sizes. IE likes just a number, while other browsers like a CSS unit to
be applied. I test for IE and set '50' for example if IE, if not '50px'.
The second thing I did was move the JS out of the table. IE seems to be
happier when I do that. It all looks fine for me now.
http://adamducker.com/public/example001/index2.html
-Adam Ducker (http://adamducker.com)
______________________________________________________________________
css-discuss [EMAIL-REMOVED]]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
List policies -- http://css-discuss.org/policies.html
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/