5月9号
又是一天,搞到这个点才来写,每天都有新东西灌入,今天又学了新知识,要记得东西太多了,一天下来脑子好乱啊,今天学了下框架和css样式表,忽然发现这东西远比我想象的要难太多了,天哪,这不刚完成今天的作业:
 <title>作业</title>
        <style type="text/css" >
            *{
               margin :0;
               padding :0;
               background-image:url(img/timg.jpg);
               background-repeat:no-repeat;
               background-position:left 0px top 20px;
               
              background-size:100% auto;width:100%;
              background-attachment:fixed;
            }
            div {
                font-family:微软雅黑;
                font-size:14px;
                font-weight:bold;
                text-align:center;
                border-bottom:1px solid black;
                width:200px;
                height:100px;
               
            }
            #d1 {
                width:200px;
                height:200px;
                line-height:200px;
            }
            .c1 {
               width:200px;
               height:150px;
               line-height:100px;
            }
            #d2 {
               width:300px;
               height:150px;
               line-height:150px;
            }
            .c2 {
                width:300px;
                height:200px;
                line-height:200px;
            }
</style>
    </head>
        <body  >
            <!--<img src="img/timg.jpg"  width="100%" height="80%"/>-->
            <div id="d1">提笔我画西游</div>
            <div class="c1">山外青山楼外楼</div>
            <div id="d2">多少次我再回头</div>
            
            <div class="c2">忘不掉你的温柔</div>
            
            
        </body>
 
                    
                 
                
            
         浙公网安备 33010602011771号
浙公网安备 33010602011771号