[SOLVED] CSS Vertical Menu issues (a problem revisited)
Posted: Thu Feb 07, 2008 10:28 am
Further to earlier note - none of this is necessary!! My CS, TonyP's tweak because the problem is in the default CMSMS template. The js for the menu should read if lte IE 6 not if IE - becasue IE7 doesn't need it to work just fine.
Members TonyP and dstauth both identified an issue with IE7 displaying extra margin on menuparent on hover and TonyP provided a fix. However, this now creates a problem for IE6 which previously worked just fine. The IE6 issue is the reverse of course and doesn't give you the drops issue.
I tried to to fix this with a conditional statement in first the template header then in the globals but smarty doesn't like this.
#primary-nav li.menuparenth {margin-bottom: -2px; padding-bottom: 0px; }
Any thoughts on how I can add the statement?
And before anyone comments - IE6 represents about 30% of the browser market in the UK so still need to build for this.
Still on the CSS Vertical Menu - why do we have to use javascript to make it work in IE. Can't we have a CSS menu using the whatever:hover attached to the IE specific behavior property - or one that doesn't need hacks?
Visit tanfa.co.uk and cssplay.co.uk to see how it's done (I'm not a whiz with PHP/MySQL else I'd have a go!)
Members TonyP and dstauth both identified an issue with IE7 displaying extra margin on menuparent on hover and TonyP provided a fix. However, this now creates a problem for IE6 which previously worked just fine. The IE6 issue is the reverse of course and doesn't give you the drops issue.
I tried to to fix this with a conditional statement in first the template header then in the globals but smarty doesn't like this.
#primary-nav li.menuparenth {margin-bottom: -2px; padding-bottom: 0px; }
Any thoughts on how I can add the statement?
And before anyone comments - IE6 represents about 30% of the browser market in the UK so still need to build for this.
Still on the CSS Vertical Menu - why do we have to use javascript to make it work in IE. Can't we have a CSS menu using the whatever:hover attached to the IE specific behavior property - or one that doesn't need hacks?
Visit tanfa.co.uk and cssplay.co.uk to see how it's done (I'm not a whiz with PHP/MySQL else I'd have a go!)