Using relative positioning


show more Using relative positioning provides you with in-depth training on Web. Taught by James Williamson as part of the Dreamweaver CS5 Essential Training show less
please wait ...

Using relative positioning

In addition to floating elements, you can specify element placement by using the position style property. The position attribute has three values: relative, absolute, and fixed. The default value is considered to be static, which can be explicitly stated if you need to override another value. Unlike absolute or fixed positioning, relative positioning is still considered part of normal document flow, and the positioned elements are treated as such. Relative positioning basically offsets an element relative to where it would be normally found within the page.

We can set left, top, right, and bottom values to control its location. The space originally occupied by the element is left untouched and behaves as if the element is still there. This can sometimes create a hole in your document where the element used to be. Other items in your layout still react to it when the positioned element is modified. And the empty space that marks its original location will expand or contract based on that. Well...

Using relative positioning
Video duration: 4m 8s 15h 22m Beginner

Viewers:

Using relative positioning provides you with in-depth training on Web. Taught by James Williamson as part of the Dreamweaver CS5 Essential Training

Subject:
Web
Software:
Dreamweaver
Author:
please wait ...