老师,我的有问题不

老师,我的有问题不

<!DOCTYPE html>

<html>

<head>

    <meta charset="utf-8">

<title>CSS布局</title>

<style type="text/css">

/*此处写代码*/

*{padding:0;margin:0;}

a{text-decoration:none;}

p{text-align:center;}

.all .top{width:100%;

         height:60px;

background-color:#07cbc9;

position:fixed;

top:0;

left:0;

}

.all .top .logo{padding:4px 10px;

float:left;

}

.all .top ul{float:right;

}

.all .top ul li{float:left;

                list-style:none;

padding:19px 20px;

               }

.all .top ul li a:hover{color:red;}

.all .banner{width:100%;

            height:500px;

margin-top:60px;

position:relative;

}

.all .banner img{width:100%;

            top:0px;

height:500px;

}

.all .banner .toplayer{position:absolute;

top:0px;

left:0;

background-color:#000;

width:100%;

height:500px;

opacity:0.5;

                        }

.all .banner .form{position:absolute;

text-align:center;

top:250px;

left:50%;

margin-left:-200px;

margin-top:-134px;

z-index:2;

}

.all .banner .form input{height:35px;

width:400px;

                        }

.all .banner .form textarea{height:60px;

                            width:400px;

}

.all .banner .form button{height:35px;

                         width:200px;

}

.all .banner .form input,textarea,button{background:none;

color:#ffffff;

font-size:16px;

margin-top:10px;

}

.all .banner .form input:hover{border-color:#07cbc9;}

.all .banner .form textarea:hover{border-color:#07cbc9;}

.all .banner .form button:hover{background-color:#07cbc9;border:none;}

.all .about{width:100%;}

.all .about .ab-top .one{text-align:center;

                   width:100%;

   height:80px;

   line-height:80px;

   font-family:"微软雅黑";

   color:#000;

   font-size:40px;

   font-weight:bold;

   }

.all .about .ab-top .eng{font-family:"微软雅黑"

                         font-size:"16px";

                        color:gray;

margin:10px auto;

width:300px;

height:80px;

                        }

.all .about .ab-mid{height:300px;

                   width:800px; 

                        margin:10px auto;    

   }

.all .about .ab-mid .left{width:30%;

height:200px;

float:left;

.all .about .ab-mid .left .l1{position:absolute;

top:850px;

left:250px;

width:300px;

height:110px;

border:1px solid black;

}

.all .about .ab-mid .middle {width:40%;

                            height:300px;

float:left;

}

.all .about .ab-mid .right{width:30%;

height:300px;

float:right;}

    .all .about .ab-mid .middle img{width:300px;

                            height:300px;

                            margin:0 auto;

}

.all .about .ab-mid .right .t,.m{border-bottom:#07cbc9 solid 1px;

border-right:#07cbc9 solid 1px;

                            width:200px;

height:100px;

margin:20px 5px;

}

    .all .about .ab-bot{width:100%;

                   height:400px;

   }

.all .about .ab-bot img,.img1,.img2,.img3,.img4{width:25%;

                       height:200px;

   float:left;

   }

.all .about .ab-bot .img1,.img2,.img3,.img4{background:#07cbc9;}

.all .about .ab-bot button{margin-left:100px;

                           }

.all .gallery .g-top .one{text-align:center;

                   width:100%;

   height:80px;

   line-height:80px;

   font-family:"微软雅黑";

   color:#000;

   font-size:40px;

   font-weight:bold;

   }

.all .gallery .g-top .eng{font-family:"微软雅黑"

                         font-size:"16px";

                        color:gray;

margin:10px auto;

width:300px;

height:80px;}    

.all .gallery .g-mid .mid{width:950px;

height:600px;

margin:0 auto;

}

.all .gallery .g-mid .mid .one{float:left;

                           padding:0;

margin:0;

}

.all .gallery .g-mid .mid .one .two{background-color:black;

   width:300px;

   height:25px;

   font-family:"微软雅黑";

   font-size:14px;

   color:white;

   padding:0;

margin-left:15px;

   }

.all .gallery .g-mid .mid .one img{margin-left:15px;

margin-top:10px;

                            width:300px;

height:250px;

padding:0;

vertical-align:top;

}

.all .footer{margin:0;

            padding:0; 

height:80px;

line-height:80px;

text-align:center;

width:100%;

background-color:#07cbc9;

}

</style>

</head>

<body>

<!-- 此处写代码 -->

<div class="all">

<div class="top">

<div class="logo">

<img src="images/logo.png">

</div>

<ul>

<li><a href="#">HOME</a></li>

<li><a href="#">ABOUT</a></li>

<li><a href="#">GALLERY</a></li>

<li><a href="#">FACULTY</a></li>

<li><a href="#">EVENTS</a></li>

<li><a href="#">CONTACT</a></li>

</div>

<div class="banner">

<img src="images/banner3.jpg">

<div class="toplayer"></div>

<div class="form">

<form>

<input type="text" name="name" value="your Name"/><br>

<input type="tel" name="phone" value="your Phone"/><br>

<input type="email" name="useremail" value="your Email"/><br>

<textarea name="textarea"/>Write Your Comment Here</textarea><br>

<button type="submit" value="SEND MASSAGE">SEND MASSAGE</button> 

  </form>

</div>

</div>

<div class="about">

<div class="ab-top">

<div class="one">ABOUT</div>

<hr style="margin-left:49%;width:2%;"color=#07cbc9;>

<div class="eng">

afdf asdsa  sad adds sadasd as asda asd asd asd asd asd asd asd asd a asd as asd as asdasd asds a as as as sd sa sa sa.

</div>

</div>

<div class="ab-mid">

<div class="left">

<h1>A WORD ABOUT US</h1>

<div class="l1">

<p> sdfa ad asfsd sdfas dfasdf asdfdas fdsafsa fasdfsa fsafsa fasdfa dsfa sdfas dfa sdf asdf asdf e f asdf asd fa sdf.</p>

<button type="submit" value="EXPLORE" style="background-color:#000000;">EXPLORE</button>

</div>

</div>

<div class="middle">

   <img src="images/bb3.jpg">

</div>

<div class="right">

<div class="t">

<p>7000<p>

<hr style="margin-left:49%;width:2%;" color=#07cbc9;>

<p>students<p>

</div>

<div class="m">

<p>600<p>

<hr style="margin-left:49%;width:2%;" color=#07cbc9;>

<p>faculty<p>

</div>

</div>

</div>

<div class="ab-bot">

<img src="images/b1.jpg">

<div class="img1">

<h3>Library</h3>

<p>efeasdf asd fasd fas fasdf asdf a dfsd fs df asdf sdf sad fsd fsd af sadfasd</p>

<p>asdfds fsadf asdf sdf df df d  f df d fa df r  sd fd ff g ag gg ag fgfg</p>

<button type="submit" value="EXPLORE" style="background-color:#000000;">EXPLORE</button>

</div>

<img src="images/b2.jpg">

<div class="img2">

<h3>Cumputer Lab</h3>

<p>efeasdf asd fasd fas fasdf asdf a dfsd fs df asdf sdf sad fsd fsd af sadfasd</p>

<p>asdfds fsadf asdf sdf df df d  f df d fa df r  sd fd ff g ag gg ag fgfg</p>

<button type="submit" value="EXPLORE" style="background-color:#000000;">EXPLORE</button>

</div>

<div class="img3">

<h3>Conference Hall </h3>

<p>efeasdf asd fasd fas fasdf asdf a dfsd fs df asdf sdf sad fsd fsd af sadfasd</p>

<p>asdfds fsadf asdf sdf df df d  f df d fa df r  sd fd ff g ag gg ag fgfg</p>

<button type="submit" value="EXPLORE" style="background-color:#000000;">EXPLORE</button>

</div>

<img src="images/b3.jpg">

<div class="img4">

<h3>Play Ground</h3>

<p>efeasdf asd fasd fas fasdf asdf a dfsd fs df asdf sdf sad fsd fsd af sadfasd</p>

<p>asdfds fsadf asdf sdf df df d  f df d fa df r  sd fd ff g ag gg ag fgfg</p>

<button type="submit" value="EXPLORE" style="background-color:#000000;">EXPLORE</button>

</div>

<img src="images/b4.jpg">

</div>

</div>

<div class="gallery">

<div class="g-top">

<div class="one">GALLERY</div>

<hr style="margin-left:49%;width:2%;"color=#07cbc9;>

<div class="eng">

afdf asdsa  sad adds sadasd as asda asd asd asd asd asd asd asd asd a asd as asd as asdasd asds a as as as sd sa sa sa.

</div>

</div>

<div class="g-mid">

<div class="mid">

<div class="one">

<img src="images/03-01.jpg">

<div class="two">ASHJASFA</div>

</div>

<div class="one">

<img src="images/03-02.jpg">

<div class="two">ASHJASFA</div>

</div>

<div class="one">

<img src="images/03-03.jpg">

<div class="two">ASHJASFA</div>

</div>

<div class="one">

<img src="images/03-04.jpg">

<div class="two">ASHJASFA</div>

</div>

<div class="one">

<img src="images/03-05.jpg">

<div class="two">ASHJASFA</div>

</div>

<div class="one">

<img src="images/03-06.jpg">

<div class="two">ASHJASFA</div>

</div>

</div>

</div>

</div>

<div class="footer">

    <div class="copy">

@2016 imooc.com 1111

</div>

</div>

</div>

</body>

</html>


正在回答 回答被采纳积分+1

登陆购买课程后可参与讨论,去登陆

1回答
好帮手慕慕子 2019-04-28 10:14:20

同学你好,你的作业中问题比较多,详细建议和解答可能要写好几页的文档,建议您直接提交作业,批作业的老师会为你指出每一个问题,并给出修改建议

若帮助到了你, 欢迎采纳

祝学习愉快~~~


  • 提问者 JJACC #1
    你这个回复把我女友的心态搞炸了
    2019-04-29 17:54:49
  • 好帮手慕慕子 回复 提问者 JJACC #2
    同学你好, 抱歉老师可能没有表述好,给同学造成了误解,同学的作业整体布局实现了, 但是还有一些小细节需要注意,在问答区给同学指出来,不方便同学查看,所以让同学以作业的形式提交,老师会详细的指出其中的问题并给出修改建议, 然后将这些建议整理成一份文档,方便同学下载到本地查看哦~~
    2019-04-29 18:46:19
问题已解决,确定采纳
还有疑问,暂不采纳

恭喜解决一个难题,获得1积分~

来为老师/同学的回答评分吧

0 星
请稍等 ...
意见反馈 帮助中心 APP下载
官方微信

在线咨询

领取优惠

免费试听

领取大纲

扫描二维码,添加
你的专属老师