Problème pour fixer l'image de fond

Problème pour fixer l'image de fond - HTML/CSS - Programmation

Marsh Posté le 18-01-2007 à 18:45:04    

Hello à tous,
 
J'ai un problème pour fixer mon image de fond sur ma page HTML.
 

Code :
  1. <html>
  2. <head>
  3. <title>Galerie de Photographies</title>
  4. <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
  5. </head>
  6. <body background="pict_design/fond.png" bgproperties="fixed">


 
C'est pourtant juste non? Eh bien mon image de fond "se répète" mais ne reste pas fixe.
 
Qui peut m'aider?
Merci d'avance.
Florian

Reply

Marsh Posté le 18-01-2007 à 18:45:04   

Reply

Marsh Posté le 18-01-2007 à 19:52:14    

Essayer :

<body background:url("pict_design/fond.png" ) no-repeat;>


Message édité par olivthill le 18-01-2007 à 19:53:57
Reply

Marsh Posté le 18-01-2007 à 20:08:27    

Mon image de fond ne s'affiche pas de cette manière, j'ai un fond blanc!

Reply

Marsh Posté le 18-01-2007 à 20:37:10    

Le code pour le style se met dans un fichier CSS.
 
Et puis c'est tout.
 
Ensuite vérifie l'adresse de ton image....

Reply

Marsh Posté le 18-01-2007 à 20:38:44    

L'adresse de l'image est OK!  
 
par contre, je ne maîtrise absolument pas le CSS, tu pourrais m'expliquer ta réponse stp?

Reply

Marsh Posté le 18-01-2007 à 20:48:08    

Problème Résolu :)

Reply

Marsh Posté le 19-01-2007 à 11:23:40    

T'as fait comment ?

Reply

Marsh Posté le 19-01-2007 à 23:35:45    

Comme ça:
 

<body background="pict_design/fond.png" style="background-attachment:fixed;">

Reply

Marsh Posté le 20-01-2007 à 13:59:12    

Pourquoi ne pas être moderne et tout mettre dans le CSS ? Là ça fait très 1996 :(

Reply

Marsh Posté le 20-01-2007 à 16:17:08    

Ben je vois pas ou est le problème, le résultat est le même :D

Reply

Marsh Posté le 20-01-2007 à 16:17:08   

Reply

Marsh Posté le 21-01-2007 à 12:20:11    

Nanan ;)

Reply

Sujets relatifs:

Leave a Replay

Make sure you enter the(*)required information where indicate.HTML code is not allowed