Basic Layout

site layout outline

With CSS and HTML, you may think of elements as boxes. Therefore, webpages are made up of boxes: those inside boxes, next to boxes, and inside more boxes. Boxes that never touch, boxes that overlap, boxes that disappear…

The website you are looking at now is just a collection of organized boxes. You can see the header bar with inside boxes containing the site logo and navigation, the side menu with collapsible dropdown page links, a footer bar, and the largest “box” dedicated to page content like this one you’re currently reading. Each of these “boxes” is further broken down; for example, the header comprises the logo, links, and icons to outside sources, which are all pieced together by setting the placement of their “boxes” in the site’s CSS.

It’s important that you learn how to control the size, positioning, and placement of “boxes” on your own sites, as this is the basics of creating layouts that both look good and function well.