> The width and height attributes, on the other hand, don't interfere with
> CSS. They merely provide a hint to the browser about how much space to
> reserve while the image is being loaded.
>
The width/height values of the image can only be in pixels, so if the
document specifies another unit for the size, then the resulting document
ends up getting whatever value that was in pixels, so if you say:
image::micropeak-back.jpg[width="4.5in"]
then the resulting html renders with a width of 4 pixels.
I think the thing to do is to set the img width/height values directly from
the source image itself and then let the user set the style width/height
values in the above properties to resize for the target format.
--
You received this message because you are subscribed to the Google Groups
"asciidoc" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/asciidoc.
For more options, visit https://groups.google.com/d/optout.