【CSS012】CSS課題:ボックスモデル

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title>css12</title>
<style type="text/css">
<!--


p {
	color: #ffffff;
	width: 300px;
	height: 125px;
	padding: 7px;
	background-color: #009EFF;
	border: solid #FACA00;
	}
-->
</style>
</head>

<body>

<p>BOX and margin<br>
この領域はボックスといいます。テキストなどのコンテンツ内容を表示する領域です。マージンはこのボックスの余白のことをいいます。</p>


</body>
</html>



<body>


[f:id:WebChocolatier:20120705050219j:image]