打印时候去掉边框:

html:

<input type="checkbox" style="width: 28px; height: 28px;position: absolute; clip: rect(6px 22px 22px 6px)" />

解释:根据自己需要的大小调 width height,如果 width height 动的话,rect后面的参数要相应改变。

这个是我感觉调试出来的最佳的大小,要想放大缩小,自己调整即可!

注意:CheckBox 外面的td的样式要 竖着 向上对齐,横着居中,width大小比CheckBox 大1px即可。 这样布局才不会乱掉!

打印时候去掉边框:

html:

<input type="checkbox" style="width: 28px; height: 28px;position: absolute; clip: rect(6px 22px 22px 6px)" />

解释:根据自己需要的大小调 width height,如果 width height 动的话,rect后面的参数要相应改变。

这个是我感觉调试出来的最佳的大小,要想放大缩小,自己调整即可!

注意:CheckBox 外面的td的样式要 竖着 向上对齐,横着居中,width大小比CheckBox 大1px即可。 这样布局才不会乱掉!

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2022-02-27
  • 2021-08-03
  • 2022-02-14
  • 2022-02-15
  • 2021-12-10
  • 2021-11-11
猜你喜欢
  • 2022-12-23
  • 2021-10-02
  • 2022-01-04
  • 2021-08-10
  • 2022-12-23
相关资源
相似解决方案