Foundation delete vertical-align on images howto?


(Flo) #1

Hi,

there is following code in the Foundation-Standard-Template.css by Joe Workman

img {
vertical-align: middle
}

This has a jumping effect at mouseover to my own created menu, which you can find here (the Pictures below the main menu).

How can I delete or deactivate this code?

Thanks for helping!


(Ian) #2

.submenu img {
vertical-align: top!important;
}

That should work …

Regards
Ian

http://www.kingsbridgewebsites.co.uk/


(Flo) #3

Perfect, but in this way the content is jumping. If i change Top with Baseline, it works. Thanks a lot!