0
This is the page:
There’s a banner you’re covering up div's
below it.
I already put a div clear both
below it but it didn’t work.
as div's
class="base"
and class="final"
are being superimposed
Some way out?
The page in question is code
<?php require_once "config.php" ; ?>
<!doctype html>
<html>
<head>
<title><?php echo $constantes->getTituloSite(); ?></title>
<?php require_once("_global/_meta/meta.ini"); ?>
<link rel="shortcut icon" type="image/x-icon" href="_img/favicon.ico" />
<link rel="stylesheet" type="text/css" href="_global/_css/estilo.css">
<link rel="stylesheet" type="text/css" href="_global/_css/site.css">
<link rel="stylesheet" type="text/css" href="_global/_css/menu.css">
<link rel="stylesheet" type="text/css" href="_global/_css/jquery.cycle2.css">
<script type="text/javascript" src="_global/_js/jquery-2.1.4.min.js"></script>
<script type="text/javascript" src="_global/_js/jquery.cycle2.min.js"></script>
<!--[if lt IE 9]>-->
<script type="text/javascript" src="_global/_js/css3-mediaqueries.js"></script>
<!--[endif]-->
</head>
<body>
<div class="topo">
<div class="sessoes">
<div class="logo"><img src="_img/logo.png" /></div>
<div class="menu"><?php require_once "_required/menu.php"; ?></div>
</div>
</div>
<div class="conteudo">
<div class="sessoes"><?php require_once "indexConteudo.php"; ?></div>
</div>
<div class="base">
<div class="sessoes"><?php require_once "_required/base.php"; ?></div>
</div>
<div class="final">
<div class="sessoes"><?php require_once "_required/final.php"; ?></div>
</div>
</body>
</html>
In the indexConteudo.php
for now only has the banner inside a div
<div class="banner">
<?php require_once "_required/banner.php"; ?>
</div>
css
@charset "utf-8";
/* CSS Document */
.topo, .menu, .conteudo, .cont, .base, .final {
clear:both;
position:relative;
width: 100%;
}
.logo, .menu {
display:inline-block;
vertical-align:top;
height:150px;
}
.logo {
width: 10%;
}
.menu {
width: 89%;
}
.banner {
display: inline-block;
}
.listaCategorias {
margin:0 auto;
width: 100%;
text-align:center;
}
.listaCategorias li {
display:inline-block;
vertical-align: top;
height:300px;
}
.base {
background-color: #FCB412;
border-top: 5px #FC0000 solid;
border-bottom: 5px #FC0000 solid;
font-size: 12px;
}
.baseEsquerda {
display: inline-block;
vertical-align: top;
width: 45%;
padding: 3% auto;
padding: 5px;
}
.barraBase {
display: inline-block;
vertical-align: top;
}
.barraBase .hr {
display:block;
width: 6px;
height:180px;
background-color: #FC0000;
border:none;
}
.baseDireita {
display: inline-block;
vertical-align: top;
width: 45%;
padding: 3% auto;
}
.final{
background-color:#000;
color: #FFF;
}
.finalEsquerda, .finalDireita {
display:inline-block;
vertical-align:middle;
}
.finalEsquerda {
text-align:left;
width:700px;
}
.finalDireita {
text-align:right;
width:290px;
}
In case put the css, to see...
– MagicHat
added at the end of the question
– Carlos Rocha
Whatever it is, which div is hidden?
– MagicHat
the last two, the base and the final. can look at the structure I put here in the question. Notice under the banner a half yellowish div and another below her black appearing only the sides
– Carlos Rocha
what would be the desired location for them? they occupy all width.
– MagicHat
below the banner
– Carlos Rocha
Let’s go continue this discussion in chat.
– MagicHat