如何使页码居中而不是右对齐?这就是我添加页码的方式:
include("mpdf60/mpdf.php");
$mpdf=new \mPDF('c','A4','','' , 0, 0, 0, 0, 0, 0);
$mpdf->setFooter('{PAGENO} of {nbpg}');
$mpdf->WriteHTML($body);
$mpdf->Output('Packing Slip.pdf','I');
Run Code Online (Sandbox Code Playgroud)
我怎样才能让它居中?它的“setFooter”?我正在使用 mpdf。
我有一个带有虚线边框的圆圈.但是,边框应该更像是垂直破折号,而不是点.
有没有办法使用css使边框与设计完全相同(垂直划线而不是粗实线)?
我想改变这个类:"OtherCaptionBorder"
我的css:
.caption_circle{
position: absolute;
top: 450px;
left: 7%;
z-index: 10;
padding-top: 35px;
padding-bottom: 20px;
color: #fff;
text-align: center;
height: 245px;
width: 245px;
background-color: #373737;
opacity: 0.83;
border-radius: 50%;
display: inline-block;
border-color: #fff;
border-style: solid;
border-width: 7px;
font-family: open_sansregular;
font-weight: 600;
}
.OtherCaptionBorder{
position: absolute;
top: 2px;
left: 1%;
z-index: 10;
padding-top: 35px;
padding-bottom: 20px;
color: #fff;
text-align: center;
border-radius: 50%;
display: inline-block;
height: 228px;
width: 228px;
border-radius: 50%;
border: 2px dotted #ffffff;
}
.InnerCircleText{
margin-top: 8px;
font-size: …Run Code Online (Sandbox Code Playgroud)