亚洲国产日韩欧美一区二区三区,精品亚洲国产成人av在线,国产99视频精品免视看7,99国产精品久久久久久久成人热,欧美日韩亚洲国产综合乱

新浪導航條的制作

original 2019-01-13 20:20:52 382
abstrait:<!DOCTYPE html><html><head> <meta charset="utf-8"> <title>新浪導航</title> <link rel="stylesheet" type="text/css" href="css/index.

<!DOCTYPE html>

<html>

<head>

<meta charset="utf-8">

<title>新浪導航</title>

<link rel="stylesheet" type="text/css" href="css/index.css">

<link rel="stylesheet" type="text/css" href="css/font-awesome-4.7.0/css/font-awesome.min.css">

<style>

*{margin:0px;padding:0px;}

a{text-decoration:none;color:#000;}

i{color:#FF8500;}

.clear{clear:both;}

.head_up{width:100%;height:5px;background-color:#FF8500;}

.header{width:100%;height:53px;background-color:#FCFCFC;border:1px solid #EDEEF0;}

.header_content{width:1253px;height:53px;margin:0px auto;line-height:53px;text-align:center;}

.header_content a:hover{background:#F6F8F9;}

.header_left{width:400px;height:53px;float:left;}

.left_a1{display:inline-block;width:100px;height:53px;}

.left_a2{display:inline-block;width:120px;height:53px;}

.left_a3{display:inline-block;width:130px;height:53px;}

.header_right{width:600px;height:53px;float:right;}

.right_a1{display:inline-block;width:80px;height:53px;}

.right_a2{display:inline-block;width:100px;height:53px;}

</style>

</head>

<body>

<div class="head_up"></div>

<div class="header">

<div class="header_content">

<div class="header_left">

     <a href="" class="left_a1">設為主頁</a>

     <a href="" class="left_a2">手機新浪網</a>

     <a href="" class="left_a3">移動客戶端&nbsp;&nbsp;<i class="fa fa-angle-down"></i></a>

</div>

<div class="header_right">

<a href="" class="right_a1">登錄</a>

<a href="" class="right_a2">微博&nbsp;&nbsp;<i class="fa fa-angle-down"></i></a>

<a href="" class="right_a2">博客&nbsp;&nbsp;<i class="fa fa-angle-down"></i></a>

<a href="" class="right_a2">郵箱&nbsp;&nbsp;<i class="fa fa-angle-down"></i></a>

<a href="" class="right_a2">網站導航</a>

</div>

</div>

<div class="clear"></div>

</div>


</body>

</html>

老師您好!我在細節(jié)的處理上欠缺不少,在本節(jié)作業(yè)中,我想把header_left中的a鏈接移動到header_left的最左側,把header_right中的a鏈接移動到最右側,沒有實現??偟膩碚f,跟著老師一起敲代碼,學習效果還是不錯的。

Professeur correcteur:滅絕師太Temps de correction:2019-01-14 09:58:28
Résumé du professeur:你的變量名沒有區(qū)分開呀,,并且不用每個a都給上class直接.header_left a ;.header_right a 這樣來寫 減少代碼冗余;

Notes de version

Entrées populaires