Skip to content Skip to sidebar Skip to footer

Where Did This White Space Came From?

I am having problems with my sidebar_box, as it is displaying a unwanted white space at the bottom of my images. The thing is that this seems to happen only when I place an image i

Solution 1:

Add vertical-align: bottom to your image. This happens because images are displayed inline, meaning they have to leave space below in case of q, p or other letters that drop below the baseline.

Solution 2:

write this:

img{
    border:0;
    vertical-align:top;
}

Check this http://jsfiddle.net/sKE6y/1/

Post a Comment for "Where Did This White Space Came From?"