28173 sujets

CSS et mise en forme, CSS3

Bonjour à tous,
Voila j'ai fini le site de ma petite fille je pense que tout marche.
Seule bemole quand je clic sur le menu galerie et livre d'or il y a un leger decalage sur la gauche

body {
font-family: helvetica, Verdana, sans-serif ;
font-size:12px;
margin:0;
color:#585757;
padding:0;
background:url(/fond.jpg) repeat fixed;
text-align:center;
}
#conteneur {
width:795px;
margin-left: auto;
margin-right: auto;
text-align:left;}

#header{
background: url(header.jpg) no-repeat 0 0;
height:179px;
width:795px;
border:1px #666666 solid;
}
#contenu{
background-color:#F5C5DB;
min-height:500px;
border:1px #666666 solid;
}
* html #contenu {height: 500px}
#pied {
width:795px;
margin:20px auto;
color:#CD91C4;
font-family: Verdana;
font-weight: bold;
text-align:center;
}
.menuhaut {
font-weight: bold;
list-style-type: none;
margin: 0;
padding:0;
text-align:center;
}
.menuhaut li {
display: inline;
}
.menuhaut a {
margin: 0 50px;
line-height:35px;
color:#006666;
font-weight:bolder;
text-decoration: none;
font-size:16px;
}
.menuhaut a:hover {
color:#006600;
text-decoration: underline;
}
#contenumessage {
padding:10px;
margin-bottom:10px;
border:#FF9999 solid 1px;
text-align:justify;
background-color:#E8CFDA;
}
.pseudo{
font-size:10px;
color:#3333CC;

}


les pages html
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
<head>
<link rel="stylesheet" type="text/css" href= "style_div.css"> 
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
</head>
<body>
<div id=conteneur>
<div id=header>	</div><!--FIN DIV#headeer-->
	<ul class="menuhaut"> 
      <li><a href="/index.php">ACCUEIL </a></li>
       
      <li><a href="/galerie.php">GALERIE</a></li> 
       
      <li><a href="/livredor.php">LIVRE D'OR</a></li> 
       
       
    </ul> 
<div id=contenu>
		<table width="100%">
		<tr><td height="58" align="center" valign="middle">COUCOU TOUT LE MONDE !!!!</td>
	</tr>
		<tr><td align="center"><img src="nellacceuil.jpg"/></td>	</tr>
		<tr><td height="50" align="center">VENEZ VOIR MA GALERIE !!!!!</td>
	</tr>
		
	
	<tr><td align="right"></td>
	</tr>
	</table>
	</div>
	<!--FIN DIV#contenu-->
</div> 
<!--FIN DIV#conteneur-->
<div id="pied">
<table width="100%" border="0">
  <tr>
    <td align="center">Powered by LGMcreation <a href="expose/manager/manager.html"><img src="cadena.gif""0" alt="ADMIN" width="44" height="41" hspace="0" border align="right" /></a></td>
  </tr>
  </table>

</div><!--FIN DIV#pied-->
</body>
</html>


Page html galerie
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
<head>
<link rel="stylesheet" type="text/css" href= "style_div.css"> 
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
</head>
<body>
<div id=conteneur>
	<div id=header>	
	</div><!--FIN DIV#headeer-->
	<ul class="menuhaut"> 
      <li><a href="/index.php">ACCUEIL </a></li>
       
      <li><a href="/galerie.php">GALERIE</a></li> 
       
      <li><a href="/livredor.php">LIVRE D'OR</a></li> 
       
       
    </ul> 
	<div id=contenu>
 	  	  <table cellspacing=0 cellpadding=0 border=0 width="">
  	  	    <tr><td align=center>
<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,0,0" 
  width="793" 
  height="600" 
  id="expose" 
  align="middle">
<param name="menu" value"false" />
<param name="allowScriptAccess" value="sameDomain" />
<param name="movie" value="expose/swf/expose.swf" />
<param name="quality" value="high" />
<param name="bgcolor" value="#F5C6DB" />
<param name="FlashVars" value="bgColor=ffffff&albumsXMLURL=expose/xml/albums.xml&stringsXMLURL=expose/config/strings.xml&formatsXMLURL=expose/config/formats.xml&configXMLURL=expose/config/config.xml&baseXMLURL=expose/xml/&baseImageURL=expose/img/&baseVideoURL=expose/img/&baseAudioURL=expose/img/" />
<embed src="expose/swf/expose.swf" 
  menu="false"
  quality="high" 
  bgcolor="#F5C6DB" 
  width="793" 
  height="600"
  FlashVars="bgColor=ffffff&albumsXMLURL=expose/xml/albums.xml&stringsXMLURL=expose/config/strings.xml&formatsXMLURL=expose/config/formats.xml&configXMLURL=expose/config/config.xml&baseXMLURL=expose/xml/&baseImageURL=expose/img/&baseVideoURL=expose/img/&baseAudioURL=expose/img/" 
  name="expose" 
  align="middle" allowScriptAccess="sameDomain" 
  type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" />
</object></td></tr>
</tr></table>
	  </div>
	<!--FIN DIV#contenu-->

</div> <!--FIN DIV#conteneur-->
<div id="pied">
<table width="100%" border="0">
  <tr>
    <td align="center">Powered by LGMcreation <a href="expose/manager/manager.html"><img src="cadena.gif""0" alt="ADMIN" width="44" height="41" hspace="0" border align="right" /></a></td>
  </tr>
  </table>

</div><!--FIN DIV#pied-->
</body>
</html>


Merci d'avance .... Smiley biggrin
Modifié par lgm243 (21 Jun 2007 - 19:22)