Web Design with HTML and CSS

(National Geographic (Little) Kids) #1

234


Interactivity on the web

Web Design with HTML and CSS Digital Classroom

10 Save your fi le and preview it in your browser to see your Flash content. Close your
browser and return to your text editor.
Adding an ID name as you did in step 9 is useful because you can create CSS styles that
control the appearance of elements on your page. For example, you will move your Flash
movie to the right side.

Assigning an ID to a Flash object allows you to use CSS.

11 In your CSS style section, add the following code:
#smoothiead {
fl oat:right;
}
Save your fi le and then preview the page in your browser. The Flash object is fl oated to the right.
Free download pdf