課題【css05】

<?xml version="1.0" encording="UTF-8"?>
<!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" xml:lang="ja" lang="ja">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
<meta http-equiv="Content-Style-Type" content="text/css"/>
<title>css05</title>
<style type="text/css">

*{
margin: 0;
padding: 0;
}
#container{
width: 550px;
height: 320px;
}

#left1{
float: left;
height: 160px;
margin: 10px 25px;
padding: 0 10px 0 0;
font-weight: bold;
border-right: 5px solid orange;
   
}
#p1{
  border-left: bold;
  padding: 10px;
  width: 320px;
}

#left2{
float: left;
margin: 10px;
height: 160px;
padding: 0 10px 0 0;
font-weight: bold;
border-right: 5px solid orange;
}

#p2{
margin: 10px 25px;
width: 320px;
}
 
</style>
</head>
<body>
<div id="container">
<div id="left1">
デザインの話
</div>
<div id="p1">
物にはいろいろな形があります。歴史とともに多様なデザインが生まれてきました。物にはいろいろな形があります。<br>
物にはいろいろな形があります。歴史とともに多様なデザインが生まれてきました。物にはいろいろな形があります。
</div>
<div id="left2">
パッケージの色
</div>
<div id="p2">
パッケージにはいろいろな色があります。歴史とともに多様な組み合わせが生まれてきました。パッケージにはいろいろな色があります。<br>
パッケージにはいろいろな色があります。歴史とともに多様な組み合わせが生まれてきました。パッケージにはいろいろな色があります。
</div>
</div>
</body>
</html>