Cause of lack of information: In the code example below, when you mouse over the menu, the sub-menu appears below the menu, I do not know how to do it to appear above the menu, who knows and wants to help, I Thank you.
<!DOCTYPE html>
<head>
<link rel="stylesheet" href="_css/infor.css">
<meta charset="UTF-8"/>
<title>MenuEx</title>
</head>
<body>
<style type="text/css">
/*Formatação*/
.menuhorizontal2{
margin: 0;
padding: 0;
width: auto;
height: 30px;
}
.menuhorizontal2 ul{
list-style: none;
}
.menuhorizontal2 li{
width: 80px;
padding:0px;
margin: 0;
position: relative;
display: inline;
float: left;
border-left: #999999 thin solid;
}
.menuhorizontal2 li ul{
display: none;
padding: 0;
margin: 0;
position: absolute;
top: 35px;
left: 0;
}
/*nível inferior do menu com display: none*/
.menuhorizontal2 a{
display: block;
text-decoration: none;
padding: 7px;
background-color: #CCCCCC;
font-family:Verdana, Arial, Helvetica, sans-serif;
font-size: 12px;
font-weight: 400;
}
/* formatação da âncora e área clicável*/
.menuhorizontal2 li:hover ul, li.hover ul{
display: block;
}
.menuhorizontal2 li:hover ul, li.over ul{
display: block;
}
</style>
<ul class="menuhorizontal2">
<li><a href="#">Menu_1</a>
<ul>
<li><a href="#">SubM_1</a></li>
<li><a href="#">SubM_2</a></li>
<li><a href="#">SubM_3</a></li>
</ul>
</li>
<li><a href="#">Menu_2</a>
<ul>
<li><a href="#">SubM_1</a></li>
<li><a href="#">SubM_2</a></li>
<li><a href="#">SubM_3</a></li>
</ul>
</li>
</ul>
</body>