align vertical center

align vertical center

Dear Sir

refer following page 



the image frame / border is of equal height.
thanks to jquery (jquery is given below)

  1. <script type="text/javascript">
  2. $(document).ready(function() { 
  3.  
  4.  var maxHeight=0; 
  5. $('.imgholder').each(function() { 
  6.     maxHeight = Math.max(maxHeight, $(this).height()); 
  7. $(this).css('vertical-align','baseline');
  8. }).height(maxHeight);
  9.  
  10. var maxHeight=0; 
  11. $('.imagename').each(function() { 
  12.     maxHeight = Math.max(maxHeight, $(this).height()); 
  13.  
  14. }).height(maxHeight);

  15. var maxHeight=0; 
  16. $('.partnertable').each(function() { 
  17.     maxHeight = Math.max(maxHeight, $(this).height()); 
  18.  
  19. }).height(maxHeight);
  20. });
  21.   
  22. </script>
i want align the image in center position in the frame / border

i tried

  1. $(this).css('vertical-align','baseline');

but no effect
    • Topic Participants

    • vikas