CSS Tutorial

CSS Style

CSS Layout Style

CSS Float Style

CSS Reference

CSS float property




The CSS float property set a wrap around text direction side in an elements.


Property Values


Properties Value Description
Syntax float:value
value   left
  right
  none
  inherit
Allow to Only Table data elements
Inherited No

Example-Code:

<div style="width:250px;">
<p style="float:left;margin:5px;font-size:18px;"> Float </p>
<p>This example is display wrap around left float style in the elements.
the paragraph style font-size is 18 pixel are write.</p>
<.div>
Online Try This Code Your Self....   »

Example-Result:

Float

This example is display wrap around left float style in the elements. the paragraph style font-size is 18 pixel are write.