How make all images align on the left, unconditionally?

I’ve added this but it’s not helped:


img{
  margin-left: initial;
}

All I know is if you try to override something that is going to be set pretty much on different places, you’d better use “!important” behind “initial”.

It would also kinda depend why the image is not completely left. Is a parent div pushing it? Then this won’t work.

I do not have any images in my vault that aren’t aligned to the left, therefore can’t really test much.

Why are they aligned to the left, how have you implemented that?

Sorry for the late reply, seems it had to do something with my theme.
Anyway I created a snippet for you.

This works on my end. Let me know if it works for you

img-left.css (29 Bytes)

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.