js网页制作10

简介: js网页制作10
<!DOCTYPE html>
<html>
    <head>
        <meta charset="utf-8">
        <title></title>
        <link rel="stylesheet" type="text/css" href="2.css"/>
    </head>
    <body>
        <img src="img/denglong.jpg" class="img1">
        <div class="head">
            &nbsp;&nbsp;&nbsp;&nbsp;首页&nbsp;&nbsp;&nbsp;&nbsp;|&nbsp;&nbsp;&nbsp;&nbsp;部门&nbsp;&nbsp;&nbsp;&nbsp;|&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 class="banner">
        <div class="zuo">
            <a href="#">商业</a><br>
            <a href="#">法律</a><br>
            <a href="#">人文</a><br>
            <a href="#">生物</a><br>
            <a href="#">物理</a><br>
        </div>
        <div class="shang">
            欢度新春佳节
        </div>
        <img src="img/chunjie.jpeg" class="img2" >
    </div>
    </body>
</html>
css
.img1{
    float: left;
    height:7.5rem ;
}
.head{
    background: pink;
    height: 120px;
    font-size: 15px;
    font-weight: bold;
    float: left;
    text-align: center;
    line-height: 120px;
}
.banner{
    width: 700px;
}
.zuo{
    background: yellow;
    width: 200px;
    height: 400px;
    text-align: center;
    float: left;
}
.shang{
    color: red;
    font-size: 1.25rem;
    font-weight: bold;
    background: greenyellow;
    width: 490px;
    height: 50px;
    text-align: center;
    float: left;
}
.img2{
    width: 30.625rem;
    height: 350px;
}
相关文章
|
JavaScript
js网页制作03
js网页制作03
87 0
|
JavaScript
js网页制作11
js网页制作11
101 0
|
JavaScript
js网页制作09
js网页制作09
132 0
|
JavaScript
js网页制作08
js网页制作08
100 0
|
JavaScript
js网页制作07
js网页制作07
70 0
|
JavaScript
js网页制作06
js网页制作06
65 0
|
JavaScript
js网页制作05
js网页制作05
80 0
|
JavaScript
js网页制作04
js网页制作04
109 0
|
JavaScript
js网页制作练习02
js网页制作练习02
100 0
|
JavaScript
js网页制作练习01
js网页制作练习01
66 0