CSS15 ボックスモデル
<html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html;charset=utf-8" /> <title>ボックスモデル(15)</title> <style type="text/css"> <!-- *{ margin:10px; } body { background-color: #CCCCCC; } p { color: #B6D1D8; background-color: #fff; padding:15px; font-family:sans-serif; line-height: 1.6em; font-weight: bold; width: 400px; } --> </style> </head> <body> <p>BOX and PADDING<br> この領域はボックスといいます。テキストなどのコンテンツ内容を表示する領域です。このボックスと内容との余白をパディングといいます。</p> </body> </html>