align vertical center
align vertical center
Dear Sir
refer following page
http://prajaktasoftware.com/igs/photogalleryimage.php?photogalleryid=148
the image frame / border is of equal height.
thanks to jquery (jquery is given below)
<script type="text/javascript">
$(document).ready(function() {
var maxHeight=0;
$('.imgholder').each(function() {
maxHeight = Math.max(maxHeight, $(this).height());
$(this).css('vertical-align','baseline');
}).height(maxHeight);
var maxHeight=0;
$('.imagename').each(function() {
maxHeight = Math.max(maxHeight, $(this).height());
}).height(maxHeight);
var maxHeight=0;
$('.partnertable').each(function() {
maxHeight = Math.max(maxHeight, $(this).height());
}).height(maxHeight);
});
</script>
i want align the image in center position in the frame / border
i tried
$(this).css('vertical-align','baseline');
but no effect
Topic Participants
vikas