Contact Us || Privacy Policy || About Us |
|
CSS Float Example(float and clear)CSS float property is used to Move the elements to the left or right.This elements manily used for images and layouts. CSS Float Properties
CSS Float Property Values
Example1 - float: right;This example specifies that an image should float to the right in a text:
Example:- Test it NowExample2 - float: left;This example specifies that an image should float to the left in a text:
Example:- Test it NowClear PropertyThe clear property is used to what elements can float beside the cleared element and on which side. Example:- Test it NowNavigation MenuUse the float to create a horizontal menu with a list of hyperlinks : Test it NowWeb Layout ExampleUse the float property for web layouts Website. Example:- Test it Now
Next TopicCSS Height or Width
|