Creating a floating style

Learning Resources
 

Creating a floating style



In ASP .Net, CSS is used for floating el;ements on a web page. The float property specifies whether or not a box (an element) should float.

Let an element float to the right:


{
float:right;
}

Value Description
left The element floats to the left
right The element floats the right
none The element is not floated, and will be displayed just where it occurs in the text. This is default
inherit Specifies that the value of the float property should be inherited from the parent element

 

 For Support