0
When I minimize the browser the phrases go into the corner get messy. Follow the code:
css:
@charset "UTF-8";
body{
margin: 0;
width: 100%;
height: 100%;
background-color: white;
}
li{
color: white;
}
header#fundo-cima{
width: 100%;
position: absolute;
}
header#fundo-cima img{
width: 100%;
height: 100px;
position: absolute;
top: 0px;
}
nav#Rodape-cima li{
display: inline;
position: relative;
top: 100px;
margin: 19px;
}
nav#Rodape-cima ul{
position: absolute;
top: -75px;
left: 1180px;
text-transform: uppercase;
font-family: "Bitstream Vera Sans";
font-size: 14px;
}
nav#Rodape-cima li:hover{
margin: 2px;
padding: 10px;
color: blue;
}
HTML:
<!DOCTYPE html>
<html lang="pt-br">
<head>
<link rel="stylesheet" type="text/css" href="_css/cores.css">
<link rel="stylesheet" type="text/css" href="_css/Cabeçalho.css">
<link rel="stylesheet" type="text/css" href="_css/edição.css">
<meta charset="UTF-8"/>
<title>Kvasir</title>
</head>
<body>
<header id="fundo-cima">
<img src="-fotos/background-black.jpg">
<nav id="Rodape-cima">
<ul>
<li>Login</li>
<li>Cadastre-se</li>
<li>Sobre</li>
<li>Fotos</li>
<li>Contato</li>
</ul>
</nav>
</header>
</body>
</html>
Dude, don’t devote yourself to suffering, use the existing frameworks out there, they’ll make your life so easy that you’ll want something else in life. Semantic UI Bootstrap In that frameworks cited has everything and more of what you will need to set up a beautiful website without much work. Detail... Are free!!!
– Luis Alberto Batista
But the code doesn’t even have a footnote. It has a
nav
with a class calledRodape-cima
, but that’s not a footnote.– Sam
So in case the header had modified this section was testing
– Socaris Kvasir
That one
left: 1180px;
leaves the menu totally off the screen.– Sam
It was the only alternative I could find because I used text-align: right; but nothing contains! I believe it’s quite easy to solve I’m beginner so complica kkkk
– Socaris Kvasir