Posicionamento
Estou com uma dúvida em relação ao position do logo de um site que estou criando.
Estou aprendendo agora HTML e CSS, estou com algumas dúvidas uma delas seria essa do posicionamento do logo.
Essa imagem a seguir seria no Software DW, ela está cortada no final mas está na posição que gostaria que ficasse.
Essa outra imagem mostra como ela fica no Navegador :
Vou colocar os codigos CSS e HTML abaixo :
<!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>Untitled Document</title>
<link href="css/reset.css" rel="stylesheet" type="text/css" />
<link href="css/estilo.css" rel="stylesheet" type="text/css" />
<style type="text/css">body {
background-image: url(../PLANILHAS%20CAIO/projeto/imagens/fundo.jpg);
}
</style>
</head>
<body>
<div class="logo">
</div><!--final div logo-->
<div id ="topo">
</div><!--div final do topo-->
<div id ="fundoinicial">
</div><!--div fundo-->
</body>
</html>
@charset "utf-8";/ CSS Document /
body {
font-family:Calibri;
font-size:30px;
line-height:36px;
color:rgb(255,255,255);
text-align:left;
}
#topo {
background:url(../imagens/topo.png);
position:inherit;
width:1024px;
height:190px;
border-bottom:none;
margin:auto;
}
.logo {
float:left;
background:url(../imagens/logoc.png);
width:541px;
height:133px;
position:relative;
margin:40px 0 0 230px;
}
#fundoinicial {
background-image:url(../imagens/fundoof.png);
width:1024px;
height:1080px;
margin:10px auto 20px auto;
}
Muito Obrigado pela atenção !!!! Abraços .Discussão (0)
Carregando comentários...