[Resolvido] Imagem some ao redimencionar o navegador
Bom pessoal tenho uma imagem onde o conteudo vai ficar dentro dela.
Essa imagem fica no centro, bom quando eu redimenciono o navegador, essa imagem sai da tela, como ela se ela continuace
a ir a esquerda.
<?php
require_once $_SERVER['DOCUMENT_ROOT'] . "/config-db/config-db.php";
?>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=iso-8859-1"/>
<link rel="stylesheet" type="text/css" href="/css/index2.css" />
</head>
<body>
<div id="fundo">
</div>
</body>
</html>
CSS
body {
background-image: url('image/fundo3.png');
}
#fundo {
background-image: url("image/arcoires2.png");
position: absolute;
height: 768px;
left: 58%;
margin: -302px 2% 1% -596px;
top: 50%;
width: 1024px;
background-repeat: no-repeat;
}
Agradeço a qualquer ajuda que vier
Discussão (6)
Carregando comentários...