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.





About the Author
Copyright 1997-2002 Idocs Inc. Content in this guide is offered freely to the public under the terms of the Open Content License and the Open Publication License. Contents may be redistributed or republished freely under these terms so long as credit to the original creator and contributors is maintained.