Tryit Editor v2.3

Edit This Code:
<!DOCTYPE html> <html> <head> <style> body { margin: 0; padding: 0; } .right { float: right; width: 300px; background-color: #b0e0e6; } </style> </head> <body> <div class="right"> <p><b>Note: </b>When aligning using the float property, always include the !DOCTYPE declaration! If missing, it can produce strange results in IE browsers.</p> </div> </body> <!-- Mirrored from www.w3schools.com/css/tryit.asp?filename=trycss_align_float_crossbrowser by HTTrack Website Copier/3.x [XR&CO'2014], Fri, 23 Jan 2015 07:23:36 GMT --> </html>
Result:
Try it Yourself - © w3schools.com