0
这里是我的CSS代码:Laravel 5背景图像不显示在DOMPDF上?
#header {
background-image: url(../assets_frontend/images/pinpdfheader.jpg);
width: 100%;
background-repeat: no-repeat;
background-size:contain;
height:150px;
}
我尝试我的html文件转换成DOMPDF但不知何故,我的背景图片没有显示出来,如何在DOMPDF使用背景图片网址?
http://stackoverflow.com/questions/11360603/dompdf-not-displaying-image-generated-by-php-file –