hi
I have started adding all of images in page content using the <figure>
tag and it’s caption option as a better way to have text flow around the images. I have classes created in my CSS to handle different % widths, but I am finding that the bottom margin on the images means that every now and then, a line does not wrap correctly. I have margin-bottom: 0; set in the image class, but it still does not seem to alter things.
I have no bottom margin or padding set on the figure classes, but am still not finding how to remove that bottom space.
Here is an example of the CSS I have to date:
figure.left-40 { float: left; width: 40%; text-align: center; font-style: italic; font-size: smaller; text-indent: 0; border: none; margin: 4px 5px 0 0; padding: 0 5px 0 0; } img.scaled { display: block; width: 100%; border-radius: 10px; margin-bottom: 0; }
I only just added the margin-bottom to the img.scaled class, but it has made no difference. I even tried using an inline style on the image (style="margin-bottom: 0;"
), but no luck there either.
Attached is an image of exactly what I am talking about
URL of the page is feastthailand.com/3-impressive-lookouts Any suggestions gladly accepted
Regards