• crm_shutterstock

How do I use CSS

Posted by: | Posted on: October 28, 2017
How do I use CSS to style a SMIL presentation?

The <layout> element allows you to use different style languages through the type attribute. For example…

<layout type="text/css">
[region="r1"] {
width: 320px;
height: 240px;
<video region="r1" src="somevid.mpg"/>

Note: [region="r1"] is a lesser-known CSS selector that means “select any element that has a ‘region’ attribute set to ‘r1′”

This FAQ applies to: SMIL 2.1


Leave a Reply

Your email address will not be published. Required fields are marked *