How to remove margin from an image inside a responsive row ? - Forum

Forum Navigation
You need to log in to create posts and topics.

How to remove margin from an image inside a responsive row ?

Hi everyone,
I'm working on a responsive layout using a row <div>, and I have an image inside it. I want to make sure the image has no margin at all (margin: 0), especially on all screen sizes.

What’s the best way to ensure the image has margin 0 and stays aligned properly in a responsive design?

Thank you!

Uploaded files:
  • You need to login to have access to uploads.

@asmat just set the Container padding to 0 (zero value).
Regards.

Thank you, Luis. I’ve already set the container padding to 0, but there’s still a small margin remaining.

Uploaded files:
  • You need to login to have access to uploads.

@asmat check attached app.
Just be sure every object has padding 0px.
Regards.

Uploaded files:
  • You need to login to have access to uploads.

@asmat also check this one if you want a boxed design except for the image.

Uploaded files:
  • You need to login to have access to uploads.

Thank you so much, Luis! I’ve finally created a website template. Here’s the link:
website

Vadim has reacted to this post.
Vadim

@asmat it's very professional.
Congratulations!

asmat has reacted to this post.
asmat