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

What You’ll Learn in This Hour:

Image How to add margins around elements

Image How to add padding within elements

Image How to keep everything aligned

Image How to use the float property

Now that you’ve learned some of the basics of creating web content, in this hour, you learn the nitty-gritty of using CSS ...

Get HTML and CSS in 24 Hours, Sams Teach Yourself (Updated for HTML5 and CSS3), Ninth Edition 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.