Space Around Image

I was trying to add some space arnd picture in a HTML page. Later I found that I can achieve it by adding margin:5px

p img {
padding: 0;
max-width: 100%;
margin:5px;
}

Did you enjoy this article?
Signup today and receive free updates straight in your inbox. We will never share or sell your email address.

Leave a Reply