tailieunhanh - Sams Teach Yourself Microsoft Expression Web 3 in 24 Hours- P11

Sams Teach Yourself Microsoft Expression Web 3 in 24 Hours- P11: Morten Rand-Hendriksen is the owner and creative director of Pink & Yellow Media, a boutique-style design company providing digital media consulting and creations for individuals, businesses, and broadcast television. He was awarded the Microsoft MVP (Most Valuable Professional) Award for his work with Microsoft Expression in 2008. | This page intentionally left blank HOUR 17 Frames and Layers What You ll Learn in this Hour How to create a frameset to separate the contents of a page How to edit the frameset and its individual frames How an inline frame differs from a frameset and how to use it How to change the content of a frame using the Set Text of Frame behavior What layers are and how they differ from frames How to create and edit layers to create an interactive experience How to use layers and inline frames together to make a preview of a hyperlink Introduction So far you learned how to create page layouts using Cascading Style Sheets CSS . But there are times when CSS just doesn t cut it and times when you want some added functionality you just can t get with a style sheet. In this hour you learn about frames and layers and see how making smart use of these layout tools can improve the functionality of your websites. Frames and layers are layout tools that have been around for quite some time and at one time each was the hot new thing in web design. In this hour you take a closer look at both these techniques and learn when to use and when not to use them. 284 HOUR 17 Frames and Layers Frames An Introduction Frames plural are a group of web pages displayed together in a web browser. A separate Hypertext Markup Language HTML file commonly referred to as a frameset controls the frames. The frameset creates a group of frames gives a name to each frame and tells the browser how to position the different frames in relation to one another. There is also a subset of frames called an iFrame. The i is short for inline which as its name suggests is a box in which a different HTML page displays inside the current page more on that later. For the most part designers use frames to separate the navigational tools from the content. That way you can let the user scroll through lists of navigational links or large documents independently of other page elements. The Microsoft Developer Network MSDN .