Forum How do I...?

PDF form checkbox input is not respecting CSS border style

avishnya
Hi there,

I have tried to apply border style to the checkbox, but the style is getting ignored in generated PDF. The grey default color is getting used. In addition, the border width 0 won't remove the border around the checkbox. I didn't observe this issue with the text field and textarea. Am I missing something?
<input type="checkbox" style="width:12pt;height:12pt;border: 1px solid black;/>
  1. Screen Shot 2022-08-25 at 2.20.19 PM.png36.4 kB
wangp
Check box borders currently cannot be styled. It's consistent with browser behaviour, but may not be the best behaviour.