Stuart Sherwood wrote:
Hi All,
The tips and advice here is really fantastic. Highly appreciated.
I have a problem with a submenu that works by altering the z-index. I
have used the following hack which I'm not entirely happy with. Can
someone suggest something better?
#submenu a:hover {
z-index: 20;
z-index: expression(body.z-index 20); /* invalid css: IE fix */
}
Regards,
Stuart Sherwood
I have no idea how to make it "better." If it works as intended, and
your goal is to hide it from the validator and respectable browsers, you
might use 'conditional comments.'
<!--[if lte IE 6]>
<style type="text/css">
z-index: expression(body.z-index 20);
</style>
<![endif]-->
Regards,
David Laakso
--
David Laakso
http://www.dlaakso.com/
******************************************************
The discussion list for http://webstandardsgroup.org/
See http://webstandardsgroup.org/mail/guidelines.cfm
for some hints on posting to the list & getting help
******************************************************