<!DOCTYPE html> <html> <head> <style> div{ width:200px; height:200px; border:1px solid red; float:right; margin-right:100px; } </style> </head> <body> <div> The box is floating on the right side. The right margin of the box is 100px. </div> </body> </html>
Run
×
Share