HTML cards are sticking to the right while making a responsive web page

HTML cards are sticking to the right while making a responsive web page
Posted Jan 09,2021 by Manisha Dubey

1 Answer     98 Views    

While I was trying to make a html page resposive I faced a issue where my all the cards didn't had any margin or padding on the right side, I tried giving them some padding and margin but failed to get the result. I only want them to be at the center of the page. Below is a sanp of the problem and HTML code followed by the problem respectively.


Elevenstech Jan 09, 2021

Use 100% width in image tag

Eg: <img  src="#image path here" style="width:100%">