Usamos cookies para medir audiência e melhorar sua experiência. Você pode aceitar ou recusar a qualquer momento. Veja sobre o iMasters.
Estou tentando colocar uma imagem de fundo com as seguintes etapas:
1ª pagina
nome:index.php
<?php
include "fundo.php";
?>
2ª pagina
nome: fundo.php
<!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">](http://www.w3.org/1999/xhtml)
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>ESCOLHA NOSSO CAPITÃO</title>
</head>
<?php
include "css.php";
?>
<body>
<div id="fundo">
</div><!-- fundo -->
</body>
</html>
3ª pagina
nome: css.php
<link href="css/fundo.css" rel="stylesheet" type="text/css">
4ª pagina
nome: fundo.css
@charset "utf-8";
/ CSS Document /
#fundo {
background-image:url(../imagem/fundo.jpg); background-repeat:no-repeat;
}
Porque minha imagem de fundo não quer aparece o que estou fazendo de errado. Alguem pode me ajudar? Estou
começando em php
Carregando comentários...