Space between images causes bottom gap
-
Okay, I hope somebody here can help me with this because it’s beaten me.
I’m using the Plainscape theme, although the same thing happens with the WordPress Classic theme.If I add two images to a post or page they display just fine with the padding around them set to 2px.
See here: https://img23.imageshack.us/img23/8288/goodqpw.jpgBut as soon as I add a space between the two, either by going into the editor and just pressing space bar or
a gap appears at the bottom of the two images.
See here: https://img258.imageshack.us/img258/1449/badf.jpgI found a fix to the problem is that if I add line-height:0px; to the div containing the images (.entry) then the gap disappears, but then obviously that causes the posts and pages that contain text to display wrongly.
Does anybody have any ideas? I would appreciate any help.
I just want a small gap between the two images without changing anything else. If there is a better way to do it then just adding a space between the images then please let me know.
Thanks
- The topic ‘Space between images causes bottom gap’ is closed to new replies.