Chapter 17. Styling Tables

<feature><title>What You’ll Learn in This Hour:</title>
  • What the HTML table model is, and how it is used with CSS

  • How tables are laid out on the screen

  • What the layers of a table are, and how CSS rules can be used to affect cells in those layers

  • How the borders, padding, and spacing of table cells can be affected by CSS

  • How to use other CSS properties with table layout

Tables in HTML are a staple of web development and are used for everything from schedules and calendars to page layout. Although CSS offers the capability to replace tables for visual design of the page, it’s a more common scenario to find tables and CSS styles used together for best effect.

</feature>

Table Formatting

Tables are ubiquitous on the Web and constitute ...

Get Sams Teach Yourself CSS 24 in 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.