码迷,mamicode.com
首页 > 其他好文 > 详细

前端开发的第一段代码

时间:2015-05-29 19:59:11      阅读:104      评论:0      收藏:0      [点我收藏+]

标签:

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
<head>
	<meta http-equiv="Content-Type" content="text/html;charset=UTF-8">

   <title>04-10盒模型中的margin设置</title>   

<style>
       #cont
      	{
           width:1000px;
           height:600px;
           background:green;
           }
       #div
       {
           width:400px;
           height:200px;
           background:blue;
           float:left;
           }
        #test
        {
           margin;10px;

           }
</style>
</head>

<body>
     <div id="cont">
          <div id="test"></div>
          <div></div>
          <div></div> 
     </div>
          
</body>  

</html>

  

前端开发的第一段代码

标签:

原文地址:http://www.cnblogs.com/jason-s/p/4539040.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!