Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
  • #26993

    Is it possible to fit image’s width and height to layout’s width/height?
    <img src="../" width="100%" height="100%" />
    doesn’t help – width works fine but height not – if image too heigh it is splitted into different pages.


    I am afraid percentage height values are not supported. In PDF generation context not always obvious what should be taken as a basis to calculate relative height.

    For example:


    In the case image height depends on HTML body height, but html body height depends on image height.


    Are relative widths already supported?
    Is max-width: 100% on images in css supported?

    img { max-width: 100%} doesn’t seem to work

Viewing 3 posts - 1 through 3 (of 3 total)

The forum ‘HTML/CSS rendering issues’ is closed to new topics and replies.