css testo che scorre sotto foto, con firefox

« Older   Newer »
  Share  
max_400
view post Posted on 6/9/2010, 15:17     +1   -1




CODICE
<html>
<head>
<style type="text/css">
div{
position:fixed;
background-image:url(gallina2.jpg);
background-repeat:no-repeat;
width:300px;
height:300px;
left:0px;
top:0px;
z-index:2;
}
</style>
</head>

<body>
<h1>This is a heading</h1>
<div>..</div>
<p>Because the image has a z-index of -1, it will be placed behind the text.<br>
Because the image has a z-index of -1, it will be placed behind the text.<br>
Because the image has a z-index of -1, it will be placed behind the text.<br>
Because the image has a z-index of -1, it will be placed behind the text.<br>
Because the image has a z-index of -1, it will be placed behind the text.<br>
Because the image has a z-index of -1, it will be placed behind the text.<br>
Because the image has a z-index of -1, it will be placed behind the text.<br>
Because the image has a z-index of -1, it will be placed behind the text.<br>
.............................................<br>
...........................<br>
.........................................<br>
....................................................<br>
......................................................<br>
....................................<br>
...................................<br>
...........................<br>
..................................................<br>
...........................<br>
...................................<br>
.....................................................................<br>
.........................................<br>
Because the image has a z-index of -1, it will be placed behind the text.<br>
Because the image has a z-index of -1, it will be placed behind the text.<br>
Because the image has a z-index of -1, it will be placed behind the text.<br>
Because the image has a z-index of -1, it will be placed behind the text.<br>
Because the image has a z-index of -1, it will be placed behind the text.<br>
Because the image has a z-index of -1, it will be placed behind the text.<br>
Because the image has a z-index of -1, it will be placed behind the text.<br>
Because the image has a z-index of -1, it will be placed behind the text.<br>
Because the image has a z-index of -1, it will be placed behind the text.<br>
Because the image has a z-index of -1, it will be placed behind the text.<br>
Because the image has a z-index of -1, it will be placed behind the text.<br>
Because the image has a z-index of -1, it will be placed behind the text.<br>
Because the image has a z-index of -1, it will be placed behind the text.<br>
Because the image has a z-index of -1, it will be placed behind the text.<br>
...............................<br>
......................................................<br>
...................................................................<br>
......................................................<br>
......................................................<br>
.............................................................<br>
.........................<br>
........................................<br>
...................................<br>
...........................................<br>

</p>
</body>
</html>

http://maxgiulia.altervista.org/max/09-set...-sotto-foto.htm
 
Top
0 replies since 6/9/2010, 15:17   88 views
  Share