I need a DIV with fixed size in centimeters width:12.5cm;
and height:7.5cm;
. I can maintain these sizes when loading the view, but when I generate the PDF using PHP's mPDF class, it ignores height
and increases it according to content.
I need that regardless of the content, the size is maintained, even if the content goes over the edges.
CSS that I'm using in the DIV:
.container-ficha {
background-color:#ffffff;
width:12.5cm;
height:7.5cm;
border:1px solid black;
margin: 0 auto 0 auto;
}
L