annoying CSS margin on images

CaldwellYSR

Member
put display:block; on your images and it fixes your problem. Then if you want to keep that grid you float them left.

That white space is because their default display for images is display: inline; and display inline reads the white space in html and turns it into one non breaking space.
 

CaldwellYSR

Member
well it isn't a stupid question but sometimes you can't just use anything to fix that problem you could try enlarging the image or down sizing it see which looks right on all the search engines

Do you even read questions or do you just post crap answers at the bottom?
 

upside

New Member
put display:block; on your images and it fixes your problem. Then if you want to keep that grid you float them left.

That white space is because their default display for images is display: inline; and display inline reads the white space in html and turns it into one non breaking space.

Awesome, thanks Caldwell.
g
 
Top