Usamos cookies para medir audiência e melhorar sua experiência. Você pode aceitar ou recusar a qualquer momento. Veja sobre o iMasters.
Olá galera queria saber como eu coloco uma div com 100% de height olha só p html:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Banda Musical</title>
<link href="estilo/estilo.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="topo">
<div id="logo">
LOGO
</div>
<div id="menu">
MENU
</div>
</div>
</body>
</html>
estilo.css
body{
background-color:#000;
margin:0;
color:#FFF;
}
#topo{
width: 100%;
height:1000px;
background-image: url(imagens/bg_topo.jpg);
background-repeat: no-repeat;
background-position: center center;
}Carregando comentários...