PD4ML wrote:
I converted the HTML snippet and the result looks ok. See attached.
Probably in your case there are some extra styles, that reduce the font size. I cannot tell exactly as I seen neither entire HTML document, not its PDF output.
Sorry for so late to replay..details xml:
Code:
<?xml version = "1.0" encoding = "UTF-8"?>
<html>
<meta content = "text/html; charset=UTF-8" http-equiv = "content-type"/>
<head>
<style type = "text/css">
.cn {
font-family: SimSun;
color:#114488;
margin-right:2px;
font-size:8px;
}
.en {
font-family: Arial;
color:#000000;
font-size:8px;
}
</style>
</head>
<body>
<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>
</body>
</html>
The height of checkbox is too large, isn't it?
I want the checkbox has same height as the text besides it.
ps:I saw that pd4ml use "java:/resources/icons/cb-off-big.gif " & "java:/resources/icons/cb-off-big.gif" to render checkbox, could I use the smaller one -->"cb-off.gif"? if I could, then how to do it?