본문 인쇄하기 문의

본문 인쇄하기 문의

QA

본문 인쇄하기 문의

답변 3

본문

뷰페이지에서 아래와 같이 인쇄 버튼을 만들어 인쇄를하면 본문하단에 인쇄하기 와 창닫기가 인쇄됩니다.
인쇄가 안되는 방법좀 부탁드립니다.

<p align="center">
  <a href="javascript:window.print();"><input type="submit" value="인쇄하기" class="btn_submit"></a> <input type="button" onclick="window.close();" value="창닫기" class="btn_submit">
</p>

이 질문에 댓글 쓰기 :

답변 3

<style type="text/css" media="print"> 
.noprint { 
display: none; 

</style> 
<table width=100% class="noprint"> 
  <tr><td><a href="javascript:window.print();">인쇄하기</a></td></tr> 
</table> 

위 소스를 응용해서 버튼 부분을   noprint 로 제외시켜보세요.

답변을 작성하시기 전에 로그인 해주세요.
전체 3
© SIRSOFT
현재 페이지 제일 처음으로