Position fixe pour les div
Salut tout le monde,
Comme projet je dois créer un petit site en flash.
J'ai déjà créer le fichier CSS mais je suis qu'un novice...
Mon problème est que quand j'agrandit le navigateur, tout les divs sont dans leurs bonne places, mais des que je rétrécit le navigateur, tout ce mets l'un sur l'autre...
Voici mon code CSS:
Code:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46
|
<style type="text/css">
div {
text-align:center;
}
div#bandeau {
width:1400px;
height:354px;
background-color: #000;
}
div#menu {
float:left;
width:300px;
height:1000px;
background-color:#000000;
}
div#menu_haut {
width:100px;
height:200px;
background-color:#66CC33;
}
div#menu_bas {
width:100px;
height:200px;
background-color:#CC99CC;
}
div#contenu {
float:left;
width:1100px;
height:1000px;
background-color:#000000;
}
div#bloc_news {
float:right;
width:300px;
height:1000px;
background-color:#000000;
}
div#pied_page {
clear:both;
width:1400px;
height:50px;
background-color:# CCC;
}
</style> |
Le code CSS a été trouvé sur internet et je l'ai modifié a mes besoins.
Merci d'avance,
Shinobi93