Why doesn't my drop-down menu appear?
骑师
骑师 2018-12-13 18:13:35
0
0
891

<!DOCTYPE html>

<html>

<head>

<meta charset="utf-8">

<title>Simon International Navigation</title>

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

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

</head>

<body>

<div class="header">

<div class="headermain">

<div class="headermain_l">

<a href="">Hello, welcome to Simon</a>

</ div>

<div class="headermain_r">

<a href="">Login</a>

<a href= "" >Free registration</a>

<a href="" >My Simon<i class="fa fa-arrow-down"></i>

<ul>

<li>sales</li>

<li>sales</li>

</ul> ;

                                                                                                                                                                                                          Site Navigation</a>

</div>

</div>

</div>

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

</body>

</html>



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

.clear{clear: both;}

li {list-style: none;}

a{text-decoration: none; font-size: 15px; margin-left: 5px; color: #fff; line -height: 40px; display: inline-block;

padding-left: 10px;padding-right: 10px; position: relative; }

.header

{ background -color: #105599}

.headermain

{width: 1200px;margin: 0px auto; height: 40px;}

.headermain_l

{ float: left;}

.headermain_r

{

width: 550px;

float: right;

}

.headermain_r a:hover

{

background-color: #0A2743;

}

.headermain_r ul

{

height: 80px; width: 80px; position: absolute;

}

.headermain_r ul li

{

height: 30px;

}

Which teacher can help analyze it

骑师
骑师

reply all(0)
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!