Best javascript editor debugger
Ajax website
Changing the BackgroundChanging the background color of one or more cells is a great way to add visual clarity and structure to your table. To change a cell's background color with (X)HTML: Within the desired tag, type bgcolor= "color", where color is either a name or a hex color (see page 126 and inside back cover). Figure 16.35. You can add the bgcolor attribute to any part of the table. Here I've matched the background of the logo bar to the color of the middle image so that it looks like it stretches with the browser window. And I've added a dark green background to the left navigation bar.
To change a cell's background image or color with CSS: In the desired rule, type background: value, where value is described in detail on pages pages 172173. Figure 16.36. At left, you can see the yellow background around and between the images in the logo bar. Notice (above) that the green background also surrounds the nested table and serves as the background for its text (that I've made white).
|
Best javascript editor debugger
Ajax website