HTML, XHTML, and CSS, Sixth Edition
Changing the Movie's Background Color
When we reduced the size of the movie on the previous page, its background became visible (and ugly). You can change the background color to make it more attractive (or to make it disappear). Figure 18.22. The bgcolor attribute is only used if the movie is smaller than the height and width you've specified.
To change the movie's background color: Within each object element, type <param name="bgcolor" value="color" />, where color is one of the sixteen predefined values or a hexadecimal representation of a color (see page 126 and the inside back cover). Figure 18.23. Now the background is bright yellow instead of dull gray. I think it's an improvement.
|
Категории