Background Color
By default, the root-layout region is black. All other regions
use transparency as their default. In the SMIL layout, you can specify
a different background color for any region, as in the following
example:
<smil>
<head>
<layout>
<root-layout width="450" height="450" background-color="#ffcc00"
/>
<region id="image" top="5" left="5"
width="150" height="75" z-index="2"
background-color="navy" />
<region id="text" top="50" left="50"
width="100" height="100" z-index="3"
background-color="red" />
</layout>
</head>
<body>
...media clip tags will go here...
</body>
</smil>
For the color value, use any RGB hexadecimal value (#RRGGBB) supported
by HTML. You can also use the basic 16 named colors (maroon, navy,
etc.).
|