Ver Mensaje Individual
  #1 (permalink)  
Antiguo 01/03/2016, 15:19
mihaivoicaes
 
Fecha de Ingreso: marzo-2016
Ubicación: Madrid España
Mensajes: 2
Antigüedad: 8 años, 2 meses
Puntos: 0
Pregunta Problema con fotografia

Tratando de hacer una pagina web al momento de ver como estaba quedando no se puede ver la imagen cuando si que debería. Si alguien conoce donde esta el error y si no se debe hacer así seria de gran ayuda.
<!DOCTYPE html>
<html lang="es">
<head>
<meta charset="utf-8" />
<title>AndamiosJ70</title>
<link rel="shortcut icon" type="image/x-icon" href="pictures/favicon.ico">

<link rel="stylesheet" href="style/index_style.css">

<script src="https://ajax.googleapis.com/ajax/libs/jquery/2.2.0/jquery.min.js"></script>
<script src="js/script.js"></script>
</head>
<body>
<header>

</header>

<section id="banner">

</section>

<section id="body"></section>
</body>
</html>

*{
margin: 0;
padding: 0;
font-family: helvetica;
}

section#banner{
width: 100%;
background-image: url(pictures/portada.jpg);
background-attachment: contain;
background-position: center;
background-repeat: no-repeat;
}

$(document).ready(function(){

$("#banner").css({"height":$(window).height() + "px"});

});