Bonjour,
Je ne sais pas si c'est un bug mais j'ai resolu le probleme de div et une fois tout fermer, mon site ce decale dans tous les sens..
Voici le rendu en oubliant des / aux </div>
<lien>http://vfxart.free.fr/ml/</lien>
exemple :
1 2 3 4 5 6 7 8 9 10 11
| <div id="stats">
<div class="header_menu" id="statistique">
<p class="title">Statistiques</p>
</div>
<div>
<div id="news">
<div class="header_menu" id="nouveaute">
<p class="title">Nouveautes</p>
</div>
<div> |
et en mettant toutes les div parfaites
<lien>http://vfxart.free.fr/ml1/</lien>
1 2 3 4 5 6 7 8 9 10 11
| <div id="stats">
<div class="header_menu" id="statistique">
<p class="title">Statistiques</p>
</div>
</div>
<div id="news">
<div class="header_menu" id="nouveaute">
<p class="title">Nouveautes</p>
</div>
</div> |
Voici le code html entier
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 47 48 49 50 51 52 53 54 55
| <html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>Magic Land - Phrase....</title>
<link href="css/styles.css" rel="stylesheet" type="text/css" />
<script src="Scripts/AC_RunActiveContent.js" type="text/javascript"></script>
</head>
<body>
<div id="contener">
<div id="banner"></div>
<div id="menu">
<ul>
<li><a href="#" class="Bouton1">Accueil</a></li>
<li><a href="#" class="Bouton">News</a></li>
<li><a href="#" class="Bouton">Videos</a></li>
<li><a href="#" class="Bouton">Forum</a></li>
<li><a href="#" class="Bouton">Contact</a></li>
</ul>
</div>
<div id="stats">
<div class="header_menu" id="statistique">
<p class="title">Statistiques</p>
</div>
</div>
<div id="news">
<div class="header_menu" id="nouveaute">
<p class="title">Nouveautes</p>
</div>
</div>
<div id="communaute">
</div>
<div id="last_video">
</div>
<div id="last_news">
</div>
<div id="head_bottom">
</div>
</div>
</body>
</html> |
Et mon css si ça peut jouer
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 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158
| body{
background-color: #808080;
font-family:Arial, Verdana;
padding: 0px;
margin: 0px;
}
#contener{
background:url(images/contener.png) top no-repeat;
width:789px;
height:896px;
margin:auto;
}
#banner{
background:url(images/banner.jpg) top no-repeat;
float:left;
width:756px;
height:123px;
margin:5px 0 0 10px;
}
/*----------------------------------------------------------------------------------------------------------------------------------------------------
Articles & Contener
----------------------------------------------------------------------------------------------------------------------------------------------------*/
#communaute{ /* Communauter */
background:url(images/frame_co.png) top no-repeat;
float:left;
width:552px;
height:290px;
margin:-260px 0 0 200px;
padding:0 0 0px 0;
}
.header_menu{ /* Header Bleu */
background:url(images/header_menu.png);
float:left;
width:177px;
height:26px;
margin:0 px 0 0;
}
#stats{ /* Statistiques*/
background:url(images/bg_menu_st.png) top repeat-x;
float:left;
width:177px;
height:201px;
margin:50px 0 0 15px;
padding:0 0 5px 0;
}
#news{ /* Dernieres Nouveaute*/
background:url(images/bg_menu_ns.png) top repeat-x;
float:left;
width:177px;
height:347px;
margin:220px 0 0 0;
padding:0 0 5px 0;
}
#last_video{ /* Article 1*/
background:url(images/bg_video.png) top no-repeat;
float:left;
width:276px;
height:198px;
margin:30px 0 0 478px;
padding:0 0 0px 0;
}
#last_news{ /* Article 2*/
background:url(images/bg_last_news.png) top no-repeat;
float:left;
width:276px;
height:198px;
margin:-198px 0 0 195px;
padding:0 0 0px 0;
}
#head_bottom{ /* Banniere du bas*/
background:url(images/head_bottom.png) top no-repeat;
float:left;
width:779px;
height:59px;
margin: 100px 0 0 -17px;
}
/*----------------------------------------------------------------------------------------------------------------------------------------------------
MENU TOP
----------------------------------------------------------------------------------------------------------------------------------------------------*/
#menu{ /* Menu Barre */
background:url(images/b_menu.png) top no-repeat;
float:left;
width:756px;
height:41px;
margin:5px 0 0 10px;
}
#menu li{
margin: 0px 0px 0px 0px;
float: left;
}
#menu ul li{
font-weight: bold;
list-style-type: none;
font-size:18px;
list-style:none;
}
#menu ul li a{
text-decoration:none ;
text-align:center;
padding-top: 3px;
color: rgb(0,102,102);
}
.bouton{ /* Bouton */
background:url(images/Bouton.png) no-repeat top center;
margin:-10px 10px 0 0;
width:128px;
height:30px;
display:block;
outline-color:blue;
}
.bouton1{ /* Bouton bleu */
background:url(images/Bouton_a.png) no-repeat top center;
margin:-10px 10px 0 0;
width:128px;
height:30px;
display:block;
}
/*----------------------------------------------------------------------------------------------------------------------------------------------------
Textes
----------------------------------------------------------------------------------------------------------------------------------------------------*/
.title{
font-size:100%;
margin: 2px 0 30px 45px;
font-family:Arial, Verdana, serif;
font-weight: bold;
} |
Partager