Tag: float

Grav: Putting white space around an Image with CSS

I’ve done it for a long time, so it was just a matter of time before I could figure it out with Grav. With its distinct combo of markdown and HTML I had to find the right combination.

The problem was that once I put up an image with text flowing around it, the text would be placed right beside the image, leaving no extra white space. This is unpleasant to the eye and makes the text more difficlt to read. A mere 10 pixels of white space make all the difference.