www.webdeveloper.com
Results 1 to 3 of 3

Thread: Image difference in height

  1. #1
    Join Date
    May 2010
    Posts
    133

    Image difference in height

    http://i5.photobucket.com/albums/y15...ps6b69d5eb.jpg

    I am trying to create an image gallery. As you can see in the image why is that the right image has more height? Even though these two image has the same height? It's weird. When I replace the image on the right with image on the left, they will show same height.

    Below is my code


    HTML Code:
    <div id="menu_boxes">
    	<img src="image/menu/pic1.jpg" width="351px" height="470"  >
           <img src="image/menu/pic2.jpg" width="351px" height="470"  >
    
    </div>
    Last edited by anishgiri; 04-05-2013 at 12:56 AM.

  2. #2
    Join Date
    Apr 2013
    Posts
    135
    Anishgiri, I think its ill gens. There is no problem in height. Or errors in menu_boxes div check it again. Because you are mention that height of both images is same then how can it possible.

  3. #3
    Join Date
    Apr 2013
    Posts
    1
    it is simple to give image difference in height..

    <div id="middle">
    <img src="images/pic1.jpg" height="80">
    <img src="images/pic2.jpg" height="100">
    </div>

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center



Recent Articles