Chapter 15. Padding, Margins, and Borders
All elements in an XHTML document can be formatted in a variety of ways using CSS. Previous chapters in this part of the book covered the CSS basics—how to write a style definition and how to apply it to various elements within your documents. This chapter begins coverage of the area that surrounds elements and how it can be formatted, including customizing the space around an element and giving it a border. Chapter 16 continues this discussion with colors and background images.
Get Web Standards Programmer's Reference: HTML, CSS, JavaScript®, Perl, Python®, and PHP 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.