css A4 크기에 맞게 프린트 > PHP

STUDY ROOM

PHP

css A4 크기에 맞게 프린트

페이지 정보

작성자 JMStudy 작성일21-09-06 16:10 조회4,966회 댓글0건

본문

@charset "utf-8";


@page{

margin: 0mm;

}


@media print{

html, body{

width: 210mm; height:296mm;

margin: 0mm;

padding: 0mm;

-webkit-print-color-adjust: exact;

print-color-adjust: exact;

}


.a4{

width: 210mm; height:296mm;

-webkit-print-color-adjust: exact;

print-color-adjust: exact;

margin: 0mm;

padding-top: 0mm;

border: initial;

border-radius: initial;

width: initial;

min-height: initial;

box-shadow: initial;

background: initial;

page-break-after: always;

}


}

댓글목록

등록된 댓글이 없습니다.