Syntax | selector {position: value;}
|
---|---|
Usage | The position property is used to specify the method by which the element will be laid out. This property is specified by using a keyword according to the syntax shown above. If relative, absolute, or fixed is specified then the top, right, bottom, and left properties can be used for positioning. If static is specified then positioning is automatic according to the normal flow. |
Keywords |
|
Applies To | All elements |
Inherited | No |
Initial Value | static |
The position properties are set using 4 different keyword values. |