
Images that go beyond the borders of a post on Habré
Many saw that on Habr the images in posts sometimes get out beyond the borders of a post.
Need to do something. It is ugly and not comfortable.
This is easy to solve, you need the parser to automatically wrap all the images in a container with overflow: auto. But it’s better to code JavaScript that calculates the width of the content zone, and all images in the content zone that are wider than it itself would wrap in DIV with overflow: auto.
Then I take my leave.
Need to do something. It is ugly and not comfortable.
This is easy to solve, you need the parser to automatically wrap all the images in a container with overflow: auto. But it’s better to code JavaScript that calculates the width of the content zone, and all images in the content zone that are wider than it itself would wrap in DIV with overflow: auto.
Then I take my leave.