--- id: howto-css-three-columns title: "How To - Three Column Layout" category: "Web_Recipes" status: "draft" verification_status: "conceptual" canonical_id: "" aliases: ["3 column grid CSS float"] duplicate_of: "" source_trust_level: "B" confidence_score: 0.81 created_at: 2026-07-04 updated_at: 2026-07-04 review_reason: "" merge_history: [] tags: ["howto", "css", "w3schools", "layout", "float", "responsive"] raw_sources: ["https://www.w3schools.com/howto/howto_css_three_columns.asp"] applied_in: [] github_commit: "" --- # [[HOWTO CSS Three Columns]] ## 🎯 ν•œ 쀄 톡찰 (One-line insight) Beyond the standard equal-column formula (`width: 33.33%` for 3 equal float columns, same pattern as `[[HOWTO CSS Four Columns]]`), this recipe also shows UNEQUAL columns achieved by simply giving each column class its OWN explicit width (`.left, .right { width: 25%; } .middle { width: 50%; }`) instead of a shared class β€” proving that "N-column layout" isn't really about a fixed formula at all, just floats whose widths happen to sum to 100%, whether or not they're equal. [S1] ## 🧠 핡심 κ°œλ… (Core concepts) - **Equal 3-column** β€” `.column { float: left; width: 33.33%; }` + `.row:after` clearfix. [S1] - **Unequal 3-column** β€” separate classes with independently-set widths that still sum to 100%: `.left, .right { width: 25%; } .middle { width: 50%; }`. [S1] - **Same responsive collapse pattern** β€” `@media (max-width: 600px) { .column { width: 100%; } }`, identical breakpoint value to the Two/Four column recipes. [S1] ## πŸ“– μ„ΈλΆ€ λ‚΄μš© (Details) - Equal columns: `.column { float: left; width: 33.33%; } .row:after { content: ""; display: table; clear: both; }`. [S1] - Unequal columns: `.column { float: left; } .left, .right { width: 25%; } .middle { width: 50%; }`. [S1] ## βš–οΈ λͺ¨μˆœ 및 μ—…λ°μ΄νŠΈ (Contradictions & updates) μ—†μŒ β€” μ‹ κ·œ λ ˆμ‹œν”Ό, κΈ°μ‘΄ λ¬Έμ„œμ™€ λͺ¨μˆœλ˜λŠ” λ‚΄μš© μ—†μŒ. ## πŸ› οΈ 적용 사둀 (Applied in summary) 동일 폭 3μ—΄κ³Ό, 25%/50%/25%둜 λ‚˜λ‰œ λΉ„λŒ€μΉ­ 3μ—΄ 두 κ°€μ§€ μ˜ˆμ œκ°€ μ›λ¬Έμ—μ„œ λ‚˜λž€νžˆ μ œμ‹œλ¨. [S1] ## πŸ’» μ½”λ“œ νŒ¨ν„΄ (Code patterns) Equal vs. unequal 3-column float layout (CSS): ```css /* Equal */ .column { float: left; width: 33.33%; } /* Unequal -- widths just need to sum to 100% */ .left, .right { float: left; width: 25%; } .middle { float: left; width: 50%; } ``` ## βœ… 검증 μƒνƒœ 및 신뒰도 - **μƒνƒœ:** draft - **검증 단계:** conceptual - **좜처 신뒰도:** B (W3Schools β€” widely used educational reference) - **μ‹ λ’° 점수:** 0.81 - **쀑볡 검사 κ²°κ³Ό:** μ‹ κ·œ 생성 (New discovery) ## πŸ”— 지식 κ·Έλž˜ν”„ (Knowledge Graph) - **μƒμœ„/루트:** [[W3Schools HOW TO]] - **κ΄€λ ¨ κ°œλ…:** [[HOWTO CSS Four Columns]], [[HOWTO CSS Two Columns]], [[HOWTO CSS Zig Zag Layout]] - **μ°Έμ‘° λ§₯락:** CSS Layout & Positioning μ„Ήμ…˜. ## πŸ“š 좜처 (Sources) - [S1] W3Schools β€” How To - Three Column Layout β€” https://www.w3schools.com/howto/howto_css_three_columns.asp ## πŸ“ λ³€κ²½ 이λ ₯ (Change history) - 2026-07-04: Initial draft synthesized from the W3Schools "How To - Three Column Layout" recipe (Astra wiki-curation, P-Reinforce v3.1 format).