
μ맨ν±νκ² λλκΈ°
headerμ yearmain μ table 6κ° , table 6κ° λ₯Ό section μ κ°μΈμ€.ν μ΄λΈ μμ± (6κ°)
caption μ month thμ weektr μ daytrνκ·Έμ 곡백μ ν¨κ» μ¨μ£Όμλ€.1~3μκ³Ό 4~6μ λ λΆλΆμΌλ‘ λλκΈ° μν΄ λ°μ μ½λλ₯Ό λ£μ΄μ€.
<tr>
<th colspan="7"></th>
</tr>
κ°μ΄λ° μ λ ¬
headerνκ·Έμ μλ h1μ ν
μ€νΈλ₯Ό κ°μ΄λ° μ λ ¬ π text-align:center;table νκ·Έμ calendarλ₯Ό display:inline-block;μΌλ‘ μ€μ (μ§μ μ μΌλ‘ μ€μ ν΄μ€μΌνλ λ―? table νκ·Έλ₯Ό λλ¬μΌ wrpperμ μ μ©ν΄λ³΄λ inline-blockμΌλ‘ λκΈ΄ νμΌλ inline μ²λΌ μμΌλ‘ κ°μ§ μμμ)table κ°μ΄λ° μ λ ¬νκΈ° μν΄ margin: 0 auto;λ₯Ό μ μ©4. ππππ μ΄κ±Έ μν΄ μ΄ κΈμ μμ±νλ€ γ γ
th:nth-child(1),td:nth-child(1) {
color:red;
}
μΌμμΌμλ§ λΉ¨κ°μμ μ΄λ»κ² μ°μ§? νλ€κ° λ€λ₯Έ νκ³ νμμ λ°κ²¬ν λ°©λ²!
μ΄λ° μ’μ λ°©λ²μ΄,,π
μ°μ λ¬λ ₯ λ무 μλ»μ... nth-childλ‘ ν λ²μ μ€μ νλꡬλ...!! μμ μ²μ¬λ€π