Pierwszy:
Mam strone podzielona na 6 divow. W srodkowej jest glowna tresc strony, z tlem, ktore powinno byc nieruchome. Jednak kiedy wrzucam:
background-attachment: fixed;
background-repeat: no-repeat;
Tlo znika calkowicie.
Fragment kodu css:
Kod: Zaznacz cały
body {
font-family: Arial, Helvetica, sans-serif;
font-size: 11px;
background-color: black;}
#calosc {
margin: 0 auto;
width: 800px;
color: white;
position:relative ;}
#text {
color: yellow;
background: url(gfx/srodek.jpg);
float: left;
width: 481px;
height: 188px;
margin: 0px 0px 0px 0px;
padding: 0px;
display: inline;
position: relative;
overflow: auto; /* suwak pojawi sie automatycznie */
background-attachment: fixed;
background-repeat: no-repeat;W dolnym Divie, tzw. stopce chce umiescic link do bannera, ale chce sam zdecydowac w jakim ma byc miejscu(ten banner). Daje wiec:
Kod: Zaznacz cały
#stopka {
width: 800px;
height: 74px;
clear: both;
background: url(gfx/dol.jpg);
margin: 0px 0px 0px 0px;
padding: 0px;
a.w3css {
position:absolute;
top: 20px;
right: 15px;}
}Troche to zakrecone, ale prosze o jakies sugestie.