• Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint
Share this Page URL
Help

Hour 10. Format Your Web Pages with Casc... > Position a Layer with a Style

Position a Layer with a Style

So far, you've applied styles to text. When dealing with layers, it's useful to position objects on the page with styles. If you need to position layers in a consistent place on the screen, then it's an excellent idea to define a style for those layers. To define a positioning style for a layer:

  1. Create and name a new custom style like you did earlier in this hour.

  2. Select the Positioning category in the Style definition dialog box. Notice the properties in this category are properties that you used in the last hour creating layers.

  3. Set the left, top, width, and height properties as shown in Figure 10.9.

    Figure 10.9. To create a positioning style, set the left, top, width, and height properties in the Positioning category of the Style definition dialog box.

  4. Select absolute from the Type pop-up menu at the top of the Positioning style category. Select the OK button to save your style.


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


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