I have a problem that I am replicating in different browsers.
I have divs with images each in a wrapper http://jsfiddle.net/QnVYL/ . The wrapper has a border of 1px and an addition of 5px. Image inside up to 100%.
For some reason, however, there are more than 5 pixels between the bottom of the image and the bottom of its wrapper. See how the padding looks equal on all sides of the images? There seem to be 3 pixels from ... somewhere. Firebug doesn't let me know where it came from.
How can I get rid of space? I can’t use absolute positioning to fake it because I’m still not sure that I will always know the exact height of the image.
Help is much appreciated!
source
share