Editor Arrow Download Open
<!DOCTYPE html> <html> <head> <title>CSS left property</title> <style> .contain { border: 10px solid #000; font-family: sans-serif; font-size: 16px; padding: 1em; } .fleft, .fright { border: 10px solid red; background-color: #f57070; padding: 1em; } div.one { float: left; } div.two { float: right; } div.three { float: none; width: 40px; } </style> </head> <body> <h1><code><b>float left</b></code></h1> <div class="contain"> <div class="fleft one">Left</div> <div>Nature, in the broadest sense, is the natural, physical, or material world or universe. "Nature" can refer to the phenomena of the physical world, and also to life in general. The study of nature is a large, if not the only, part of science. Although humans are part of nature, human activity is often understood as a separate category from other natural phenomena.</div> </div> <br /> <h1><code><b>float right</b></code></h1> <div class="contain"> <div class="fright two">Right</div> <div>Nature, in the broadest sense, is the natural, physical, or material world or universe. "Nature" can refer to the phenomena of the physical world, and also to life in general. The study of nature is a large, if not the only, part of science. Although humans are part of nature, human activity is often understood as a separate category from other natural phenomena.</div> </div> <br /> <h1><code><b>float none</b></code></h1> <div class="contain"> <div class="fleft three">None</div> <div>Nature, in the broadest sense, is the natural, physical, or material world or universe. "Nature" can refer to the phenomena of the physical world, and also to life in general. The study of nature is a large, if not the only, part of science. Although humans are part of nature, human activity is often understood as a separate category from other natural phenomena.</div> </div> <br /> </body> </html>
  Preview Arrow