1
Hello.
I started studying Development front-end recently (almost yesterday) and am having some problems with CSS. I’m terrible at positioning things, and what makes me angry is that I can do a few tricks to get the elements/items well positioned on the full screen, but when I decrease it, the items start to go out of place, boxes, headers etc. Everything gets extremely messed up.
It follows below my code and as the menu.
Obs: the "menu" class is within the "containertopo" class".
*
{
margin: 0px;
padding: 0px;
list-style: none;
text-decoration: none;
}
.containertopo
{
position: relative;
width: 100%;
height: 79px;
background-color:deepskyblue;
opacity: 0.5;
}
.containertopo img
{
width: 99px;
float: left;
margin-left: 17%;
}
.menu
{
display: inline-block;
}
.menu ul
{
margin-left:4em;
}
.menu ul li
{
display: inline-block;
margin: 2em;
}