June 9, 201313 yr Hi So I have an image 850 pixels high, but the div that I want to put it in, seems to require a height of 950 pixels to display the entire image. Is this strange or expect behaviour? David.
June 9, 201313 yr Try explicitly specifying your padding and margins. Your CSS may be adding additional measurements to your division. If height is the only issue try height auto so the div only occupies the space the image takes up.
Create an account or sign in to comment