html
1<div id="like"> 2//////省略 3 4 <div id="wrap"> 5 <div class="content"> 6 <div class="main-center"> 7 <h1>What I LOVE</h1> 8 9 <div class="like_box"><h4>水泳</h4> 10 <img src="./images///.png" alt="水泳" height="200px" width="200px" > 11 12 </div> 13 14 <div class="like-box"><h4>体操</h4> 15 <img src="./images///.jpg" alt="体操" width="200px" height="200"> 16 </div> 17 18 <div class="like_box"><h4>テニス</h4> 19 <img src="./images///.jpg" alt="テニス" width="200px" height="200"> 20 </div> 21 22 </div> 23 </div> 24 </div>
css
1#wrap{ 2 clear: both; 3 background-color: silver; 4 margin-top: 160px; 5 padding:35px 0; 6} 7 8.main-center{ 9 width:940px; 10 margin: 0 auto; 11 12} 13.content{ 14 width: 960px; 15 margin: 0 auto; 16} 17 18#like .like_box{ 19 width: 600px; 20 float: left; 21 22 }
回答1件
あなたの回答
tips
プレビュー
バッドをするには、ログインかつ
こちらの条件を満たす必要があります。
2019/02/11 03:48