Hi community,
I’m having trouble understanding why the test doesn’t read my image as centered. Could someone please explain how I can fix correct this issue?
Kindest regards
Joshua
Hi community,
I’m having trouble understanding why the test doesn’t read my image as centered. Could someone please explain how I can fix correct this issue?
Kindest regards
Joshua
You set the margin value to auto, this tells CSS to distribute the spaces around the image evenly i.e top, bottom left and right. However by specifying you want the left and right margin to be distributed evenly, your image will be centered;
This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.