You are here : cssCSS 3vertical-align

vertical-align - CSS 3

The vertical-align property sets the vertical alignment of an element.


Syntax

vertical-align: baseline|length|sub|super|top|text-top|middle|bottom|text-bottom|initial|inherit;


Example

img
	{
	   
	vertical-align: text-top;
	}


Output / Return Value


Limitations


Alternatives / See Also


Reference