HTML to PDF / DOCX / RTF Java converter library › Forums › PD4ML v3 Archived Forums (Read Only) › HTML/CSS rendering issues › css style control of checkbox will lose after convert to pdf › Re: Re: css style control of checkbox will lose after convert to pdf
August 30, 2011 at 09:25
#28641
How to control the size of checkbox? it seems css style of checkbox will lose after html being converted to pdf. I want the checkbox being displayed same size as texts besides it.
As the attached picture, when use checkbox in a row, the height of row became much higher than normal height.
checkbox is “larger” than texts of the document..
<table cellspacing="0px" cellpadding="0px" style="margin-left:20px;" width = "100%"> <tr> <td> <span class="cn">请单选</span><span class="en">Select One Option ONLY</span> </td> </tr> <tr> <td><input type="checkbox"/><span class="cn">单名帐户*</span><span class="en"> Sole A/C</span> </td> </tr> </table>
How to control the size of checkbox? it seems css style of checkbox will lose after html being converted to pdf. I want the checkbox being displayed same size as texts besides it.
