• Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint

Q&A

Q1:The <div> tag is described as implementing CSS layers. I thought that CSS had to do with text. Am I right?
A1: The CSS standard does define many attributes for manipulating text. But it also defines box elements, which are what layers are. This might make more sense to you after you have completed the next hour, which is all about CSS. In that hour, you'll learn about the different attributes of layers that you will be able to set up in a style and how powerful that capability is.
Q2:Why would I want to use layers in my web pages?
A2: You might decide not to use layers and might end up using other methods—tables, for instance—to position content on your web pages. But if you'd like to have some content overlapping or sitting on top of other content, you'll need to use layers and set the layer z-index to a value higher than the underlying content's z-index. Alternatively, if you'd like to hide an image or text on the screen and then show it later by using the Show-Hide Layers behavior (see Hour 17), you'll of course need to use layers. In Hour 18, “Creating a Form and Collecting Data,” you'll learn how to animate layers to move around a web page.
Q3:Help! My timeline doesn't play. What's wrong?
A3: First, check that you dragged a layer into the Timelines panel and not an image. Then make sure you have checked the Autoplay check box. Is the animation bar starting at frame one? If not, your animation might be playing empty frames before it gets to your content.
Q4:I'm right-clicking in the Timelines panel, but I don't see the Insert Keyframe command in the context menu. Where is it?
A4: You need to right-click on an individual animation bar to get the context menu to appear. You can't click on the top of the playback head or the frame numbers. If you continue to have trouble, hold down the Ctrl key (Command key on the Macintosh) and use the keyframe cursor to add keyframes.


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


  
  • Creative Edge
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint