我的邊框半徑設置在dompdf
中不起作用。這裏是我的代碼:border-radius在dompdf中不工作
$html ='
<style>
#test {
background-color:blue;width:450px;height:800px;z-index:50;
-moz-border-radius-bottomright: 750px 150px;
border-bottom-right-radius: 750px 310px;
-moz-border-radius-bottomleft: 500px 120px;
border-bottom-left-radius: 450px 165px;
}
</style>
<div id="test">
</div>
';
$dompdf = new DOMPDF();
$dompdf->load_html($html);
$dompdf->render();
請幫我如何使用邊界半徑在DOMPDF – 2014-09-25 08:41:58
OK先生,但是我必須使用適當的打開和關閉標籤到我的編碼但border-radius不支持,它顯示爲方格div – 2014-09-25 08:48:09
您使用的是哪個版本的dompdf?另外,你想達到什麼目的?我用你的示例代碼看到了一個半徑(儘管它可能不是理想的結果)。 – BrianS 2014-10-03 03:19:49