bravo14 Posted February 4, 2015 Share Posted February 4, 2015 Hi all I am trying to vertically align some images inside a list item as part of a jquery plugin, there is a fiddle here http://jsfiddle.net/87avs38f/ But I can't figure it out, any help would be great Link to comment https://forums.phpfreaks.com/topic/294376-vertical-align-image/ Share on other sites More sharing options...
cssfreakie Posted February 5, 2015 Share Posted February 5, 2015 Look at the logic posted here: http://jsfiddle.net/kizu/4RPFa/4570/ Link to comment https://forums.phpfreaks.com/topic/294376-vertical-align-image/#findComment-1505020 Share on other sites More sharing options...
jeffreyappel Posted February 27, 2015 Share Posted February 27, 2015 All i can give you some example that would useful to solve this. <script> function myFunction() { document.getElementById("myIMG").style.verticalAlign = "top"; } </script> Also try this: img { vertical-align: text-top; } Ok.All best. Link to comment https://forums.phpfreaks.com/topic/294376-vertical-align-image/#findComment-1506951 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.