Malheureusement la page est dans une zone membre mais je peux évidemment donner le code complet.
Pourquoi pas de %? c'est plus pratique et de meilleur qualité pour les petites définitions où les gens qui auraient une petite résolution (800*600 ou inférieur)
code CSS; html,body
{
margin:0px;
padding:0px;
/*background-image: url(font/bg_inscrip.gif);*/
width: 100%;
height: 100%;
margin: auto;
color: #40526B;
background-color: #000000;
}
#barleft
{
position: relative;
background-color: #FF0078;
min-height: 100%;
float: left;
width: 12%;
}
#borderleft
{
background-image: url(font/border_rose.gif);
background-repeat: repeat-x;
height: 200px;
}
#barright
{
position: relative;
background-color: #FF0078;
min-height: 100%;
float: right;
width: 12%;
}
#bartop
{
position: absolute;
background-color: #356682;
height: 100px;
margin: auto;
display: inline;
}
#bordertopleft
{
background-image: url(font/border_bleu_left.gif);
height: 100px;
width: 200px;
background-repeat: repeat-y;
float:left;
}
#bordertopright
{
background-image: url(font/border_bleu_right.gif);
height: 100px;
background-repeat: repeat-y;
width: 200px;
float: right;
}
#miniemo
{
position: absolute;
z-index: 100;
background-image: url(font/mini_emo.gif);
width: 65px;
height: 82px;
}
#menu
{
}
l'index <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="fr" >
<head>
<title>:: EmoNest::</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<link rel="stylesheet" media="screen" type="text/css" href="style.css " />
</head>
<body>
<? include 'navi.php';?>
</body>
<?
mysql_close();
?>
</html>
navi <div id="bartop">
<div id="bordertopleft"></div>
<div id="bordertopright"></div>
</div>
<div id="barleft">
<div id="miniemo"></div>
<div id="borderleft">
</div>
<div id="menu">
<img src="font/stars.gif" style="width:100%;" alt="" />
<img src="font/newzeur.gif" style="width:100%;" alt="" />
<img src="font/discuss.gif" style="width:100%;" alt="" />
<img src="font/lesgens.gif" style="width:100%;" alt="" />
<img src="font/starsend.gif" style="width:100%;" alt="" />
</div>
</div>
<div id="barright">
<div id="borderleft"></div>
</div>
et voici donc
