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

Hour 15. Formatting Your Web Pages with ... > Positioning a Layer with a Style

Positioning 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, 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 as 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.
Select Absolute in the Type category at the top of the dialog box. Set the Left, Top, Width, and Height properties as shown in Figure 15.8.

Figure 15.8. 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 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