Hour 14. Working with Margins, Padding, Alignment, and Floating

Now that you’ve learned some of the basics of creating web content, you’ll spend this hour learning the nitty-gritty of using CSS to enhance that content. Throughout the previous hours, you have learned how to use basic CSS for display purposes (such as font sizes and colors). In the hours that follow, you’ll dive in to using CSS to control aspects of your entire web “page” and not just individual pieces of text or graphics.

Before tackling page layout, however, it is important to understand four particular CSS ...

Get Sams Teach Yourself HTML and CSS in 24 Hours now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.