|
|
|
|
Bonjour,
J'ai cherché, cherché sur le web et par moi - même mais je n'y arrive pas. Je ne vois pas ce qui colle pas dans mes codes que voici :
Configuration: Mac OS X Firefox 2.0.0.12
Il faut un autre div englobant le tout et en positionnement relatif :
|
Dans le code que tu as donné div #image1 {
margin: auto;
width:580px;
height:516px;
display: block;
background-image: url(cours_fluo/tele.jpg);
background-repeat: no-repeat;
background-position: center;
}
div #contenu2 {
margin: auto;
width:500px;
height: auto;
text-align: justify;
font-size:0.8em;
color: #ff99ff;
}rien n'indique une couleur d'arrière-plan.
Alors, c'est ailleurs. -- |
Merci Beaucoup, c'est effectivement ailleur = j'ai trouvé ! :
html * { margin: 0; padding: 0; background-color: #000000; } body { background: #000; margin-left:50px; margin-right:50px; min-width:880px; } Très grand merci, super site pour savoir Comment ça marche ! |