-1
Guys, I’m having a problem positioning my div. Not what’s going on what the div who wanted to put the slide is on top of the menu. How do I put down the menu? Thank you.
body {
background: url(skyblue.jpg);
}
.titulo {
border: 1px solid black;
margin-top: 5px;
text-align: center;
font-size: 32px;
color: yellow;
}
.subtitulo {
border: 1px solid black;
margin-top: 10px;
text-align: center;
font-size: 32px;
margin-top: 10px;
color: yellow;
}
.menu {
border: 1px solid black;
text-align: right;
float: right;
padding-top: 50px;
font-size: 21px;
margin-top: 30px;
margin-right: 40px;
text-decoration: none;
}
.slides {
border: 1px solid red;
text-align: center;
font-size: 20px;
font-family: arial black;
}
<html>
<head>
<title>Ceja Feliz</title>
<meta charset="UTF-8">
<meta name="Description" content="" />
<meta name="Keywords" content="" />
<link href="ceja.css" rel="stylesheet" type="text/css" />
</head>
<body>
<!-- Título do site -->
<div class="titulo">Mocidade Ceja</div>
<div class="subtitulo">Entre aqui e ceja feliz!</div>
<!-- Inicio de cabeçalho -->
<div class="div_cabecalho">
<div class="div_container">
<div class="menu">
<a href="siteceja.html">Inicio</a>
<a href="quemsomos.html">Quem somos</a>
<a href="localizacao.html">Localização</a>
<a href="faleconosco.html">Fale Conosco</a>
<a href="eventos">Eventos</a>
</div>
</div>
</div>
<!-- Fim de cabeçalho -->
<!-- Inicio de slides -->
<div class="slides">Aqui será o conteúdo dos slides, igual o curso do devmedia</div>
</body>
</html>
If the answer was helpful, please accept it as the right answer in
– Mark Vaaz
Thank you, mate, thank you very much! :)
– user64495
As I’m starting to make a site now I need to learn more how the Divs and css commands work. You some site to study the commands?
– user64495
@Mellonfive Developer.mozilla.org in Portuguese and w3schools.com in English
– Mark Vaaz