CSS - Remove space between images

Ask a question


Issue


I have a blogs and I can not a remove the space between the images of my articles.

Solution


This may be related to the CSS of the image tag. Look at your style sheet to see if you have a style that begins with "img" and set the margins to zero. If this is not the case, add the following in your style sheet:

img{
padding:0;
margin:0;
}

Thanks to tryan44 for this tip.
Jean-François Pillou

CCM is a leading international tech website. Our content is written in collaboration with IT experts, under the direction of Jeff Pillou, founder of CCM.net. CCM reaches more than 50 million unique visitors per month and is available in 11 languages.

Learn more about the CCM team