From the course: CSS Fundamentals: Unlock the Power of Web Styling

Unlock the full course today

Join today to access over 24,800 courses taught by industry experts.

Structuring a page with CSS

Structuring a page with CSS

- [Narrator] In this movie, I want to introduce you to some layout concepts so that you'll be familiar with them as you begin to experiment with and learn the various nuances around controlling page layouts with CSS. So a browser reads an HTML document from the top down. Now if there's no CSS intervention, that HTML will appear on the page as a bunch of stacked elements. So the question is, how do you take all of these elements stacked on top of each other like little blocks and arrange them into rows and columns to make an attractive layout? Well, there are a few approaches to taking an HTML document and bending it to your will. The first is tables. Back in the day, there was no CSS. We just used tables to create row and column-based layouts. This was terrible in so many ways as that's not really what HTML table markup was meant for and it left us with a mess of unsemantic HTML, inaccessible layouts, and code that was very…

Contents