psliwa/PdfBundle

Attribute "max-height" do not exist.

Closed this issue · 2 comments

Hi,

I want to put a max-height on a div so I can 'resize' the image inside the diff.
I set the width on 175px and want the max height on 175px. but how to do it if the max-height does not exist?

Maybe you should set width of the image to 175px and leave image height unset - then image height will be proportionally resized according to image ratio and div will adopt to image.size.

I have created related issue in PHPPdf project, so I have closed this one.