foto in css

Aladdinsane

Nuovo Utente
19 Lug 2004
15
0
0
www.webservice2005.it
Ciao a tutti, vediamo chi mi può aiutare, :ister: in una tabella ho inserito un testo scorrevole e come sfondo vorrei utilizzare una foto ma essa scorre insieme al testo, ho costruito un foglio esterno in style css e ho provato i vari script per fissarla ma non funziona.
Vi allego il foglio per vedere se qualkuno sa consigliarmi cosa inserire l'immagine va nel p.7.
Aiutatemi grazie :byebye:

color: 0427b2;
background-color: fc9836;
}

p.1 {text-align: justify; color:000000; font-size: 14px; font-family: arial; font-weight: extra-light; position: static; text-decoration: none;}
p.2 {text-align: center; color:0427b2; font-size: 16px; font-family: lucida calligraphy; font-weight: bold; position: static; text-decoration: none;}
p.3 {text-align: left; color:000000; font-size: 10px; font-family: arial; font-weight: bold; position: static; text-decoration: underline;}
p.4 {text-align: center; color:000000; font-size: 12px; font-family: arial; font-weight: light; position: static; text-decoration: none;}
p.5 {text-align: center; color:0427b2; font-size: 14px; font-family: lucida calligraphy; font-weight: bold; position: static; text-decoration: none;}
p.6 {text-align: center; color:gold; font-size: 14px; font-family: cominc sans ms; font-weight: bold; position: static; text-decoration: none;}
p.7 {text-align: center; color:0427b2; font-size: 14px; font-family: lucida calligraphy; font-weight: bold; position: static; text-decoration: none; background-image: url(sfondo.jpg)>
}
 
aggiungi questi parametri a p.7:

background-attachment : fixed;
background-repeat : no-repeat;
 
non va...

shony ha scritto:
aggiungi questi parametri a p.7:

background-attachment : fixed;
background-repeat : no-repeat;

Ciao ho provato a fare come mi hai detto ma non funziona la foto continua a scorrere con il testo, l'ho inserito così:
.7 {text-align: center; color:0427b2; font-size: 14px; font-family: lucida calligraphy; font-weight: bold; position: static; text-decoration: none; background-image: url(C:\WINDOWS\Desktop\Materiale\Sfondi\Clouds\Clouds2.jpg); background-attachment : fixed; background-repeat : no-repeat;}

Poi ho letto nel corso css che Background-attachment : fixed, con IE non funziona...
non esiste un altro modo ... :ister:
Grazie :byebye:
 

Discussioni simili