Contenu de ma page web est instable

Fermé
etiennosa Messages postés 128 Date d'inscription mardi 10 mars 2009 Statut Membre Dernière intervention 2 juin 2013 - 1 mai 2009 à 14:20
math 2000 Messages postés 2579 Date d'inscription dimanche 9 septembre 2007 Statut Membre Dernière intervention 7 mai 2016 - 1 mai 2009 à 18:02
Bonjour,
Je suis en train de concevoir un site avec CSS. Le probleme est que son contenu est tres instable. Comment faire? Voici ma page http://etiennosa.blackapplehost.com
Pardon, aidez moi
Merci
A voir également:

2 réponses

math 2000 Messages postés 2579 Date d'inscription dimanche 9 septembre 2007 Statut Membre Dernière intervention 7 mai 2016 404
1 mai 2009 à 14:55
met ton menu en position absolute
0
etiennosa Messages postés 128 Date d'inscription mardi 10 mars 2009 Statut Membre Dernière intervention 2 juin 2013
1 mai 2009 à 15:32
Je te passe mon code CSS. J'ai tenté position:absolute; mais ça semble ne pas marché.
Voici mon code CSS. Pardon, essaie de voir où se trouve l'erreur
/* CSS Document */

body
{ width: 900px; /* stand=780*/
margin: auto; /* Pour centrer notre page */
margin-top: 5px; /* Pour éviter de coller avec le haut de la fenêtre du navigateur. Essayez d'enlever pour voir ! */
margin-bottom: 20px; /* Idem pour le bas du navigateur */
background-color:#ffffff; /* Une petite image de fond pour éviter d'avoir un vieux fond blanc :p */
}
#en_tete
{
width:50x;
height:83px;
background-image: url("logo.gif");
background-repeat: no-repeat;
margin-bottom:0;
}

#date
{
font-family:arial;
text-align:center;
margin:0;
}

/* ICI C'EST LE MENU HORIZONTAL*/
#menuDeroulant {
background : #ffffff; /* standard #6a6458*/
width : 900px; /* ici c'est la largeur de le bande de menu horizontal*/
height : 21px; /* ici c'est la hauteur de la bande de menu horizontal*/
list-style-type : none;
padding : 0;
border : 0;
}
#menuDeroulant li {
float : left;
width : 145px; /* standard=150 ici c'est la largeur de chaque menu deroulant*/
margin : 0;
padding : 0;
border : 0;
}
#menuDeroulant li a:link, #menuDeroulant li a:visited {
display : block;
height : auto;
color : #fff;
background : #3b4e77;
margin : 0;
padding : 0; /*stand=4px 8px*/
border-right : 1px solid #fff;
text-decoration : none;
}
#menuDeroulant li a:hover {
background-color : #f2462e;
}
#menuDeroulant li a:active {
background-color : #5f879d;
}
#menuDeroulant .sousMenu {
display : none;
list-style-type : none;
margin : 0;
padding : 0;
border : 0;
}
#menuDeroulant .sousMenu li {
float : none;
margin : 0;
padding : 0;
border : 0;
width : 145px; /* la largeur des sous menus*/
border-top : 0px solid transparent;
border-right : 0px solid transparent ; /* solid transparent*/
}
#menuDeroulant .sousMenu li a:link, #menuDeroulant .sousMenu li a:visited {
display : block;
color : #fff;
margin : 0;
border : 0;
text-decoration : none;
/*background : transparent url("fondTR.png") repeat;*/
}
#menuDeroulant .sousMenu li a:hover {
background-image : none;
background-color : #f2462e;
}
#menuDeroulant li:hover > .sousMenu {
display : block;
}

/* ICI C'EST LE CARRE POUR LES MSG CHAUDS*/
#msgchaud
{
float:left;
width:180px;
height:90px;
margin-top:2px;
}


/* ce code qui est une class permettra de mettre le menu vertical a gauche*/
#menu02
{
float:left;
width:180px;
margin-top:70px;/*stand=130px*/
}

/* ce code permettra d'annuler les point pour la liste vertivale*/


.rien
{
list-style-type:none;
}

#actunational, #actuinternational
{
float:left;
width:322px;
height:200px;
margin-left:30px;
margin-top:70px;
border-style:groove;
}

#veut_vendre, #veut_acheter, #sport, #forum, #comment_fait, #faso_annonces
{
float:left;
width:322px;
height:200px;
margin-left:30px;
margin-top:10px;
border-style:solid;
border:thin blue;

}

#pied_de_page
{

width:900px;
height:10px;
text-align:center;
text-size:10px;
}
0
math 2000 Messages postés 2579 Date d'inscription dimanche 9 septembre 2007 Statut Membre Dernière intervention 7 mai 2016 404
1 mai 2009 à 18:02
http://bormat2.free.fr/math%202000/absolute_menu/

c'était bien ça position absolute
0