Source Code:
(back to article)
Submit
Result:
Report an issue
<!DOCTYPE html> <html> <head> <title>Title of the document</title> <style> #outer { width: 400px; height: 150px; background: #cbb2d1; margin: 50px auto 0; float: left; } #inner { background: #fff; margin: 50px; padding: 10px; } </style> </head> <body> <div id="outer"> <div id="inner"> Hello world! </div> </div> </body> </html>