(Selector)
Class
block-level inline-level
table
border-collapse
table-layout
ũ ̺
콺 Ŀ
ũѹ
ũ
μ
@media print
page-break-before
ime-mode
Ŵ(Positioning)
CSS ̿ μȭ

⺻ ͻ µǴ ⺻ ϱ⿡ μÿ Ҹ Ⱑ ϴ. ׷ ִ μ CSS ̿Ͽ μ ϴ Դϴ.

"μ⸦ CSS media Ӽ Ͽ μÿ ǵ Ѵ" ̴ϴ.

CSS ̿Ͽ μ ȿ ϱ ؼ Ʒ κ Ǿ մϴ.

  • : Ʈ ̿Ͽ μ?
  • ũ ٷ : μϴ κ ũ ǥ ϴ. ׷ ũ ׾ִ ϴ.
  • ʿ κ : ޴ μ ʿ䰡 ? ׸ ÷ ʿ ̹ ָ μ⹰ ֽϴ.

ڻ , ׸ ϸ ü ũ⵵ ָ ϴ.

body {color : #000000; background : #FFFFFF; font-family : ,"Times New Roman"; font-size : 12pt;}

ũ ٷ

a {text-decoration : underline;}

ʿ κ

̴ ̵(ID) Ͽ ׺̼ ݴϴ. ̵ 쿡 Ŭ(class) Ͽ μ ʴ κп Ŭ ־ ˴ϴ.

#menu, #advertising {display : none;}

CSS

3 κ ݿؼ Ʒ CSS ϴ. print.css ̸ ϸ ǰ?

body {color : #000000; background : #FFFFFF; font-family : ,"Times New Roman"; font-size : 12pt;}

a {text-decoration : underline;}

#menu, #advertising {display : none;}

μø ǵ

HTML Ʒ ߰մϴ.

<link rel="stylesheet" href="print.css" type="text/css" media="print">

HTML μ κп DIV ±׷ մϴ.

<div id="menu">޴</div>
<div id="advertising"></div>

Copyright © Homejjang.com All rights reserved.