CSS12 ボックスモデル
<html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html;charset=utf-8" /> <title>ボックスモデル(12)</title> <style type="text/css"> <!-- p { color:#fff; font-family:sans-serif; line-height:1.6em; font-weight: bold; background-color:#00bfff ; margin-top: 50px; margin-left: 50px; width: 300px; padding: 5px; border:solid 5px #fc0; } --> </style> </head> <body> <p>BOX and margin<br> この領域はボックスといいます。テキストなどのコンテンツ内容を表示する領域です。マージンはこのボックスの余白のことをいいます。</p> </body> </html>