dernils: div wiederholen

Beitrag lesen

hi,

body {
z-index: 2;
}
wie stellst du dir das hier vor?

Dieses hier bewirkt exakt garnichts.

grüße

ok, aber was bewirkt, dass sich das bild wiederholt?

css:
body {
 margin:0;
 padding:0px 0px;
 text-align:left;
 font-family: Georgia, "Times New Roman", Times, serif;
 font-size: 12px;
 line-height: 16px;
 background-image: url(bg.jpg);
 background-repeat: no-repeat;

}

.background{
 position:relative;
 background-image:url(bg2.jpg);
 background-repeat:repeat-y;
 height:95px;
 width:auto;
 top:444px;
 z-index: 1;
 display:block;

}

html:
<div class="background"></div>