[jQuery] Re: Superfish - strange behavior when including images in items

2008-07-14 Thread Joel Birch
2008/7/14 DavCar [EMAIL PROTECTED]: Thank you Joel. Solved my problem. And I learned some valuable insights too. Much appreciated! You are most welcome! Still trying to wrap my head around your beautiful and suscinct code :-) I'm still kind of new to the whole client-side of things. My

[jQuery] Re: Superfish - strange behavior when including images in items

2008-07-13 Thread Joel Birch
Hello, Glad you are liking Superfish. It seems to me that if you apply your item padding to the anchor instead of the li element everything will be huncky-dory. Padding should always go on the anchor - as per the official demos. You beat me to the toolbar/icon thing - a demo of that is planned.

[jQuery] Re: Superfish - strange behavior when including images in items

2008-07-13 Thread Joel Birch
Also, you need to remove the height declaration from the li elements. The size of the menu items should always be dictated by the anchor as this ensures that the hit area spans the full item. The li element will shrink-wrap it automatically. Joel Birch.

[jQuery] Re: Superfish - strange behavior when including images in items

2008-07-13 Thread DavCar
Thank you Joel. Solved my problem. And I learned some valuable insights too. Much appreciated! Still trying to wrap my head around your beautiful and suscinct code :-) I'm still kind of new to the whole client-side of things. My only remaining issue is IE7's behavior in which the dropshadow