You are here : cssCSS 3position

position - CSS 3

The position property specifies the type of positioning method used for an 
element (static, relative, absolute or fixed).


Syntax

position: static|absolute|fixed|relative|initial|inherit;


Example

h2
	{
	   
	position: absolute;
	   
	left: 100px;
	   
	top: 150px;
	}


Output / Return Value


Limitations


Alternatives / See Also


Reference