zoukankan      html  css  js  c++  java
  • 14课作业

    1.代码

    <!DOCTYPE html>
    <html lang="en">
    <head>
        <meta charset="UTF-8">
        <title>Title</title>
        <style>
            .pg-head{
                background:#dddddd;
                height:38px;
            }
        </style>
    </head>
    <body style="margin:0 auto">
        <div class="pg-head">
            <div style="1000px;margin:0 auto">
                <div style="float:left;line-height:38px;10%">收藏本站</div>
                <div style="float:right;line-height:38px;90%">
                    <div style="float:right;">注册 登录</div>
                </div>
            <div style="clear:both;"></div>
            </div>
        </div>
        <div style="background:blank;height:90px;1400px">
            <div style="200px;line-height:38px;float:left;border:1px;">
                <img src="2.png" style="float:right"/>
            </div>
    
            <div style="500px;line-height:38px;float:left;border:1px;height:90px;">
                <div style="line-height:38px;float:right;border:1px;">
                    <input type="text"/>
                    <input type="button" value="搜索"/>
                </div>
    
            </div>
    
    
            <div style="400px;line-height:38px;float:left;border:1px;height:90px;">
                <div style="line-height:38px;float:right;border:1px;">
                    <div style="background:#dddddd">购物车2件</div>
                </div>
            </div>
    
        </div>
    
        <div  style="background:#C71585;height:40px;1400px">
            <div style="200px;line-height:38px;float:left;border:1px;">
                <div style="float:right">全部商品分类</div>
            </div>
    
            <div style="600px;line-height:38px;float:left;border:1px;">
                <div style="float:right">
                    首页&nbsp&nbsp&nbsp&nbsp
                    网上超市&nbsp&nbsp&nbsp&nbsp
                    水果超市&nbsp&nbsp&nbsp&nbsp
                    超级订餐&nbsp&nbsp&nbsp&nbsp
                    生活娱乐&nbsp&nbsp&nbsp&nbsp
                    研究院&nbsp&nbsp&nbsp&nbsp
                </div>
            </div>
        </div>
    
        <div  style="border:1px solid green;height:400px;1400px">
            <div style="border:1px solid red;height:400px;300px;float:left;"></div>
            <div style="border:1px solid red;height:400px;800px;float:left;">
                <div style="border:1px solid red;height:200px;250px;float:left;">
                    <img src="3.png" style="float:left;height:190px;250px;"/>
                </div>
                <div style="border:1px solid red;height:200px;250px;float:left;">
                    <img src="3.png" style="float:left;height:190px;250px;"/>
                </div>
                <div style="border:1px solid red;height:200px;250px;float:left;">
                    <img src="3.png" style="float:left;height:190px;250px;"/>
                </div>
                <div style="border:1px solid red;height:200px;250px;float:left;">
                    <img src="3.png" style="float:left;height:190px;250px;"/>
                </div>
                <div style="border:1px solid red;height:200px;250px;float:left;">
                    <img src="3.png" style="float:left;height:190px;250px;"/>
                </div>
                <div style="border:1px solid red;height:200px;250px;float:left;">
                    <img src="3.png" style="float:left;height:190px;250px;"/>
                </div>
    
            </div>
    
        </div>
    </body>
    </html>
    

     运行结果:

    老师的图片:

  • 相关阅读:
    两个单向链表的第一个公共节点
    c字符输出
    堆排序
    归并排序
    LR中,URL -based script与HTML -based script区别
    loadrunner文本检查点
    Loadrunner集合点Rendezvous知识
    连接池(Connection Pool)技术
    lucene 查询 (转载)
    Lucene + Hadoop 分布式搜索运行框架 Nut 1.0a9转自http://www.linuxidc.com/Linux/2012-02/53113.htm
  • 原文地址:https://www.cnblogs.com/momo8238/p/7420523.html
Copyright © 2011-2022 走看看