I am struggling to align a set of images properly. The screenshot below shows the current layout:
My goal is to have all four images lined up in a single row, with any additional images starting on a new row.
I have attempted various methods, but none have proven successful. I would greatly appreciate any guidance or suggestions from experienced users.
Additionally, each image includes a simple animation:
$(document).ready(function(){
$("#id").hover(function(){
$(this).stop().animate({opacity: 0.75, marginTop: -10}, 400);
},function(){
$(this).stop().animate({opacity: 1.0, marginTop: 0}, 400);
});
});