On 14/06/2009, at 6:48 AM, Karl Bedingfield wrote: > > Combined with the CSS it works just fine but I REALLY don't want to > use an additional JavaScript file just to serve IE6. Is there an > option to convert this to use within a IE6 CSS file? Or is there a CSS > way to remove the need for the file in the first place? >
You can use conditional comments to only serve the javascript to 'less than IE7'. See http://www.quirksmode.org/css/condcom.html <!--[if lt IE 7]> <script src="/path/to/script.js" type="text/javascript"></script> <![endif]--> If you want to remove the need for javascript and ensure that it works in IE6 you need to change it so that the hover acts on the <a> element rather than the <li>. ______________________________________________________________________ css-discuss [[email protected]] 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/
