0
웹 페이지의 div 태그가 오른쪽으로 많이 스크롤됩니다. 사용자가 div 태그의 내용 만 인쇄 할 수있는 인쇄 단추를 만들고 싶습니다. 감사합니다. 이div 태그의 내용을 인쇄하는 방법
<html>
<head>
<style>
@media print {
.noprint {
display: none;
}
}
</style>
</head>
<body>
<div class="noprint">
Would not print
</div>
<div>
This would print
</div>
<div class="noprint">
Would not print
</div>
</body>
</html>