Hi
It happens I may have to tune some image display. The easiest and quickest way -for me- is to use an inline style written within the
img tag because it has the highest priority and so I do not have to fiddle with the css stylesheet. I just insert:
One example can be one image 400px wide that I wish to display with a 100% width.
This is sufficient with, say Koreader or Prince PDF to obtain the required display. However, I remarked that the Calibre viewer requires an additional height information, if not the image can be distorted. I managed to get a good result, adding the
height:auto parameter.
Code:
style="width:xx%;height:auto;"
As this
height:auto parameter is usually not required for other reading software, would it be possible for the viewer, if it's missing, to use it as a default ?