Chapter 7. Working with Tables

Are you looking for a way to organize data on your Web page into rows and columns? Or to divide your page into sections for placing headers, footers, and navigation links? This chapter shows you how to use HTML tables to do all of this.

Working with Tables

Understanding Table Structure 106

Add a Table 108

Assign a Table Border 110

Adjust Cell Padding and Spacing 112

Adjust Cell Width and Height 114

Add Column Labels 116

Create Newspaper-Style Columns 117

Create Side Navigation 118

Add a Table Caption 119

Control Which Borders to Display 120

Adjust the Table Size 122

Change Cell Alignment 124

Extend Cells across Columns and Rows 126

Create Column and ...

Get Teach Yourself VISUALLY™ HTML and CSS 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.