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, ...

Get Sams Teach Yourself Macromedia® Dreamweaver® MX in 24 Hours now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.