我爱占星网 我爱占星网
首页
编程
java
php
前端
首页 编程 java php 前端

如何在html2pdf中正确使用nth-child?

I'm using html2pdf class to export a certain html page into pdf. The pdf is generated correctly with all styles applied successfully except for nth-child selector.

When I use the tr:nth-child(even) it displays perfectly in the plain html but doesn't appear in the pdf.

Any help how I can hack this html2pdf to accept my styles.

近期文章

  • Laravel Middleware没有采用特定的方法
  • cakephp中的php_intl扩展安装错误
  • 如何更改Redactor图像上传文件名?
  • 使用Laravel 5中的扩展Request类进行测试
  • 我的会话变量未正确分配
  • 将用户从page.php重定向到使用nginx的页面
  • 如何根据搜索结果选择数据点击mysql?
  • Symfony在Controller和Command中以不同方式编写的代码
  • drupal实体实现,某处有一个错误
  • 如何从Google广告获取我的网站上的推荐网址
  • 上传到服务器后,PHP文件编辑没有生效
  • 如何使用backbone.js划分JSON集合结果
  • NGINX try_files奇怪的行为
  • 在AJAX请求更多帖子后如何在循环中保存PHP变量?
  • 无法在AWS EC2上运行子进程
  • 添加延迟到wordpress后视图
  • ajax请求服务器端脚本(控制器)获取服务器的状态
  • PHP - 使用“.post”方法使用laravel5将数据插入MySQL时意外结束输入
  • 如何在数组中搜索时计算值
  • 带有RSA的Android-PHP编码字符串传递给PHP

Copyright ©2022 我爱占星 All Rights Reserved.

浙ICP备2022030071号-1

部分图文来自网络,如有侵犯您的版权,请告诉我们删除

友情链接:代码精华