Table Background Colors and Images
Setting the colors and background images of table used to be a difficult and tedious task. Until stylesheets became popular, background colors and images required lengthy repetitive HTML coding. Now that CSS is well supported by the major browsers backgrounds are much simpler.
In this section we'll look at how to set table backgrounds using styles. We'll begin with setting the
background color, then the
background image. Then we'll move on to setting the backgrounds for
table rows and for
individual cells.