CSS Tutorial

CSS Style

CSS Layout Style

CSS Float Style

CSS Reference

CSS top property

The CSS top property allow to set a top side leave space for an elements.

Property Values

Properties Value Description
Syntax top:value;
value   Size_px
Allow to Positional elements
Inherited No


<div style="height:60pxwidth:500px;top:35px;position:relative;
background-color:#FF9966;float:right;text-align:center;">Example is
right for element</div>
Online Try This Code Your Self....   »


Example is right for element