bokkeguitar
11-26-2008, 09:28 AM
http://www.dynamicdrive.com/dynamicindex1/ddsmoothmenu.htm
Please have a look at the link http://www.personal.co.za/acs/index.php in IE7
When there is no top level li element eg. there is only 5 links on the nav bar, to the right of that, the rest of the nav bar has a very small height? You will see in the link. It is caused by this code
But why is this in the code <!--[if lte IE 7]>
<style type="text/css">
html .ddsmoothmenu{height: 1%;} /*Holly Hack for IE7 and below*/
</style>
<![endif]-->
If I remove it, it all seems fine, but you must have placed it there for a reason
I see there is also a holly hack * html .ddsmoothmenu ul li a{ /*IE6 hack to get sub menu links to behave correctly*/
display: inline-block;
} and that does effect IE6 sub menus if removed.
Please have a look at the link http://www.personal.co.za/acs/index.php in IE7
When there is no top level li element eg. there is only 5 links on the nav bar, to the right of that, the rest of the nav bar has a very small height? You will see in the link. It is caused by this code
But why is this in the code <!--[if lte IE 7]>
<style type="text/css">
html .ddsmoothmenu{height: 1%;} /*Holly Hack for IE7 and below*/
</style>
<![endif]-->
If I remove it, it all seems fine, but you must have placed it there for a reason
I see there is also a holly hack * html .ddsmoothmenu ul li a{ /*IE6 hack to get sub menu links to behave correctly*/
display: inline-block;
} and that does effect IE6 sub menus if removed.