Sams Teach Yourself HTML, CSS & JavaScript Web Publishing in One Hour a Day

(singke) #1
ptg16476052

Spanning Multiple Rows or Columns 273

10


You’re up to row number four. In this one, because of the rowspans from the previous
row, there are only three cells to define: the cell for Models with AC, and the two cells
for the numbers :



Models with AC
12mm
6-8mm


In this table, I’ve made the Alternator cell a heading cell and the
AC cells plain data. This is mostly an aesthetic decision on my
part. I could have made all three into headings just as easily.

NOTE

Now for the final row—this one should be easy. The first cell (Power Steering Oil Pump)
spans two columns (the one with Alternator in it and the with/without AC column). The
remaining three are just one cell each:



Power Steering Oil Pump
12.5mm
7.9mm
6-8mm

That’s it. You’re done laying out the rows and columns. That was the hard part. The rest
is just fine-tuning. Try looking at it again to make sure there are no strange errors (see
Figure 10.26).


FIGURE 10.26
The table with the
data rows included.


Free download pdf