codice HTML:
<!doctype html>
<html>
<head>
<meta charset="utf-8">
<title>New Photo Play</title>
<link href="stile.css" rel="stylesheet" type="text/css">
</head>
<body>
<div id="NewPhotoPlay_01">
<img src="Grafica Sito web/NewPhotoPlay_01.jpg">
</div>
<div id="Pixel1">
<img src="Grafica Sito web/Pixel1.jpg">
</div>
<div id="Pixel2">
<img src="Grafica Sito web/Pixel2.jpg">
</div>
<div class=".Home">
</div>
<div id="Footer">
<img src="Grafica Sito web/Footer.png">
</div>
CSS
codice:
@charset "utf-8";
body {
margin:0;
padding:0;
height:100%;
background-image:url(Grafica%20Sito%20web/Background.jpg)
}
#NewPhotoPlay_01 {
position: absolute;
width: 397px;
height: 115px;
left: -7px;
top: -1px;
}
#Pixel1 {
position: absolute;
width: 969px;
height: 41px;
left: 390px;
top: 0px;
}
#Pixel2 {
position: absolute;
width: 969px;
height: 38px;
left: 390px;
top: 76px;
}
.Home {
background-image:url(Grafica%20Sito%20web/Menu%20Tasti/Home.jpg)
position: absolute;
width: 103px;
height: 36px;
left: 390px;
top: 41px;
}
.Home:hover{
background-image:url(Grafica%20Sito%20web/Menu%20Tasti/Home2.jpg)
}
#Chi siamo {
position: absolute;
width: 91px;
heigh: 36px;
left: 493px;
top: 41px;
}
#Servizi {
position: absolute;
width: 71px;
heigh: 36px;
left: 584px;
top: 41px;
}
#Galleria {
position: absolute;
width: 83px;
heigh: 36px;
left: 655px;
top: 41px;
}
#Misure Libri {
position: absolute;
width: 122px;
heigh: 36px;
left: 738px;
top: 41px;
}
#Richiedi Listino {
position: absolute;
width: 131px;
heigh: 36px;
left: 860px;
top: 41px;
}
#Software Book {
position: absolute;
width: 136px;
heigh: 36px;
left: 991px;
top: 41px;
}
#Contattaci {
position: absolute;
width: 232px;
heigh: 36px;
left: 1127px;
top: 41px;
}
#Footer {
position: absolute;
width: 1366px;
heigh: 130px;
bottom: 0;
left: 0;
overflow: hidden;
top: 635px;
height: 120px;
}
/* CSS Document */
body {
}
ho notato che cmq qualsiasi cosa metta non me la visualizza.
Nel senso che se tipo nel foglio stile metto un contenitore con un image in background e poi inserisco il div all'interno della mia pagina htm non mi si visualizza non capisco il xkè