Login  Register

float margin differs

Posted by patrix on Dec 10, 2019; 9:12am
URL: https://discuss.asciidoctor.org/float-margin-differs-tp7403.html

In my document I am using a lot of floats and float groups to let text flow around images. However the margin around (at the left) of these images differ a lot and are often way too large.

I am not sure what I am doing wrong. This is the code I use to put floating images in the document:

[.clearfix]
.Process flow: Measure and Store
image::doc-images/doc-measure-and-store.svg[float="left", width=33%, scalewidth=5cm]
[.clearfix]

I have tried these with and without the <nabble_embed>[.clearfix]</nabble_embed> tags.

This renders (in HTML) to this (mark the distance between the float and the text):
float and text margin problem