--- id: css-website-layout title: "CSS Website Layout" category: "Frontend" status: "draft" verification_status: "conceptual" canonical_id: "" aliases: ["website layout", "page layout", "header nav footer", "site structure", "responsive layout"] duplicate_of: "" source_trust_level: "B" confidence_score: 0.89 created_at: 2026-06-23 updated_at: 2026-06-23 review_reason: "" merge_history: [] tags: ["css", "web", "frontend", "w3schools", "layout", "flexbox", "responsive"] raw_sources: ["https://www.w3schools.com/css/css_website_layout.asp"] applied_in: [] github_commit: "" --- # [[CSS Website Layout]] ## 🎯 ν•œ 쀄 톡찰 (One-line insight) A typical website is divided into a header, a navigation menu, main content, and a footer β€” each styled with CSS, and made responsive with flexbox plus media queries. [S1] ## 🧠 핡심 κ°œλ… (Core concepts) - **Standard sections** β€” a website is often divided into multiple sections: a top header, a navigation menu, main content, and a footer. [S1] - **Header** β€” a banner area, commonly centered with padding. [S1] - **Navigation bar** β€” a horizontal menu, built here with a flex list (`ul.topnav`). [S1] - **Content layouts** β€” three common column counts: 1-column (often for mobile browsers), 2-columns (often for tablets/laptops), and 3-columns (only for desktops). [S1] - **Footer** β€” a closing area that can sit in normal flow or be fixed to the bottom of the viewport. [S1] ## 🧩 μΆ”μΆœλœ νŒ¨ν„΄ (Extracted patterns) - **Flex navigation pattern** β€” turn a `