ptg16476052
Aligning Your Table Content 265
10
You can override the row alignment for individual cells by adding align to the
The following input and output example shows the various cell alignments and how they
look (see Figure 10.18). I’ve added a style sheet that sets the cell heights to 100 pixels to
make the vertical alignments easier to see:
Input ▼
<!DOCTYPE html>
Left | Centered | Right | |
---|---|---|---|
Top | /> | alt="" /> | alt="" /> |
Centered | alt="" /> | alt="" /> |