right
Definition
The right property is used in conjunction with the position property to place elements outside the normal flow.
Example
p.wordmark {position: fixed;bottom: 10px;right: 10px;}
Characteristics
Possible values
- length
- Specific distance from the right edge.
- percentage
- Percentage of the containing parent element's width.
auto- Depends on the value of the width property.
inherit- Use the same computed value as the parent element for this property.
Default value
auto
Applies to
All elements that have the position property set to a value other than static.
Inherited
No
See also