Merci à tous de vos réponses. Je vais effectivement essayer d'être plus précis dans l'explication de mon problème mais je voulais vous épargner la lecture, pour moi qui vient du flash, "rébarbative" de ma feuille de style mais la voila. Ce que je désire faire est je crois commun à de nombreux sites :
un bandeau pleine page en haut, et un body de 1000px
Je n’utilise certainement pas les bons termes alors voici une capture d'écran de mon site qui fonctionne, je l’ai réalisé à partir de «tableaux» mais je crois qu’il ne faut pas les utiliser, c’est pourquoi je fais appel à vous.
Avec mes propres mots : centrer le contenu des div "
header" et "
titre".
Autres exemples et sans leur faire de pub et en vrac :
http://www.sfrbusinessteam.fr/ ou tout simplement la dernière version de Twitter (http://twitter.com/)
Merci de votre patience
Zedbar
//*CSS*//
html,
body {width:100%;height:100%;margin-left:auto;margin-right:auto;margin-top:0px;align:center;font-family: Arial, Helvetica, sans-serif;font-size:12px; }
.clear { clear : both; }
/*Paragraphes*****************************************************************************************************************************/
h1 {display: inline; margin:0px;padding:0px; color: #99cc00; font-size: 14px; font-weight: bold;line-height:0.9em; }
h2 {color: #000; font-size: 13px;font-weight: bold; }
h4 {color: #666; font-size: 11px;line-height:1.3em; }
p {color: #000; font-size: 12px;line-height:1.5em; }
p2 {color: #346633; font-size: 11px; }
/*Headmain*****************************************************************************************************************************/
#headmain {margin-left:auto;margin-right:auto;width:100%;align:center; }
div#header {float:left; width:100%;height:80px;background-color:#346633;align:center; }
div#header_logo {float:left;width:180px;align:center; }
div#header_nav {float:left;width:750px;align:center; }
div#titre{float:left;width:100%;height:27px;background-color:#346633;align:center; }
div#titre_g {float:left;text-align:left;width:720px;align:center;text-indent:10px;align:center;}
div#titre_d {float:left;width:280px;align:center; }
/*Sommaire*****************************************************************************************************************************/
#sommaire {margin-left:0px;width:100%;align:center;position: absmiddle; }
div#produit{float:left;width:100%;height:70px;background: -moz-linear-gradient(bottom, #346633, #99cc00 5%, #8EC105 1% ,#346633 ); }
div#produit_1 {margin-left:15.5%;float:left;margin-top:20px;width:250px;height:20px; }
div#produit_2 {float:left;width:250px;height:20px;margin-top:20px; }
div#produit_3 {float:left;width:250px;height:20px;margin-top:20px; }
div#produit_4 {float:left;width:250px;height:20px;margin-top:20px; }
div#accueil {float:left;width:1000px;height:300px;background: #fff ; }
/*Navigation*****************************************************************************************************************************/
div#navigation {float:left;width:1000px;height:10px;text-indent:5px;margin:10px 15px 10px 0px; }
div#navigation_gauche {float:left;width:800px;height:10px; }
div#navigation_droite {float:left;width:180px;height:10px;text-align:left;}
/*Principal*****************************************************************************************************************************/
#principal {margin-left:auto;margin-right:auto;width:1000px;align:center;position: absmiddle; }
div#contenu {float:left;width:1000px;max-height:700px;background-color:#fff;text-align:left; }
div#contenu_gauche {float:left;margin-left:10px;width:690px;height:700px;align:center;background-color:#fff; }
div#contenu_droite {float:left;margin-right:10px;width:290px;height:700px;text-align:left;background: -moz-linear-gradient(left, #ECECEC , #fff 15%); }
/*Carrieres*****************************************************************************************************************************/
div#contenu4 {float:left;width:1000px;height:600px;text-align:left; }
div#contenu4_gauche {float:left;width:150px;height:450px;align:center;background: -moz-linear-gradient(right, #EBF5CE , #fff 75%);border-top: 5px solid #99cc00; }
div#contenu4_inter {float:left;width:15px;max-height:1500px;align:center;background: none;border-top: 5px solid #fff; }
div#contenu4_centre {float:left;width:560px;margin-left:0px;max-height:1500px;align:justify;text-indent:0px;border-top:0px;}
div#contenu4_centre2 {float:left;width:560px;margin-left:0px;max-height:1500px;align:justify;text-indent:0px;border-top:0px;border-top: 5px solid #99cc00;}
div#contenu4_centre3 {float:left;width:800px;margin-left:0px;max-height:1500px;align:justify;text-indent:0px;border-top:0px;border-top: 5px solid #99cc00;}
div#contenu4_droite {float:left;width:220px;max-height:1500px;text-indent:10px;text-align:left;background: -moz-linear-gradient(left, #EBF5CE , #fff 75%);border-top: 5px solid #99cc00; }
/*Contenus Principaux*****************************************************************************************************************************/
#menu {margin-bottom:10px;padding-bottom:10px; margin-left:29px;margin-top:19px; background-color:none; solid 10px;}
#bloc1 {background:#99cc00;width:220px;height:135px;margin-left:0px;margin-right:0px;margin-top:0px;text-align:center;}
#bloc13 {background:#fff;width:220px;height:135px;margin-left:0px;margin-right:0px;margin-top:0px;text-align:center;}
#bloc1bis {width:180px;height:100px;margin-left:10px;margin-right:5px;margin-top:10px;border:0px;text-indent: 0px; }
#bloc2 {background:none;width:180px;height:120px;margin-left:20px;margin-right:20px;margin-top:15px;border:0px;text-indent: 0px; }
#bloc3 {background:#ffffff;width:180px;height:120px;margin-left:20px;margin-right:20px;margin-top:5px;border: 1px solid #99cc00;-moz-border-radius: 11px 11px 11px 11px;text-indent:10px;}
#bloc3bis {width:180px;height:100px;margin-left:10px;margin-right:5px;margin-top:10px;border:0px;text-indent: 0px; }
div#texte {margin-left:15px; margin-right:15px;text-align: justify;letter-spacing:0px; }
div#faq {float:left;width:800px;height:70px;margin-left:10px;margin-right:5px;margin-top:10px;margin-bottom:10px;border-bottom:1px solid #ccc;text-indent: 0px; }
div#faq_gauche {float:left;width:40px;height:60px;border-style-left:dashed;border-right:1px solid #ccc;}
div#faq_centre {float:left;width:280px;margin-left:25px;text-align:left; }
div#faq_droite {float:left;width:410px;margin-left:0px;text-align:justify; }
div#pdg {float:left;width:130px;height:60px;margin-left:10px;margin-right:0px;margin-top:20px;text-align:justify;border: 1px solid #999;border-right: 0px;-moz-border-radius: 11px 0px 0px 11px;background: -moz-linear-gradient(right, #99cc00 , #E5F2BE 75%); }
div#demo{float:left;width:130px;height:60px;margin-left:0px;margin-right:5px;margin-top:20px;text-align:justify;border: 1px solid #999;border-left: 0px;-moz-border-radius: 0px 11px 11px 0px;background: -moz-linear-gradient(left, #99cc00 , #E5F2BE 75%); }
/*Retour*****************************************************************************************************************************/
div#haut {float:left;width:1000px;height:25px; }
div#haut_gauche {float:left;width:890px;height:25px;align:center; }
div#haut_droite {float:left;width:110px;height:25px; }
/*Pied de page*****************************************************************************************************************************/
div#piedpage {float:left;width:1000px;height:120px;text-align:left;background-color:#666; }
div#piedpage_b {float:left;width:50px;height:120px; }
div#piedpage_g {float:left;width:400px;height:120px; }
div#piedpage_m {float:left;width:330px;height:120px; }
div#piedpage_d {float:left;width:210px;height:120px; }
/*Liens*****************************************************************************************************************************/
a:link {font-family: Arial, Helvetica, sans-serif;color:#fff;text-decoration:none; }
a:visited {font-family: Arial, Helvetica, sans-serif;text-decoration:none;color:#fff; }
a:hover {font-family: Arial, Helvetica, sans-serif;text-decoration:underline;color:#fff; }
a:active {font-family: Arial, Helvetica, sans-serif;text-decoration:none;color:#fff; }
/*Menu Gauche *********************************************************************************************************************/
#button {
background-color: none;margin-left: 0px;text-align:left;width: 150px;border-right: 0px solid #000; padding: 0 0 1em 0; margin-bottom: 1em; font-family: 'Trebuchet MS', 'Lucida Grande', Verdana, Lucida, Geneva, Helvetica, Arial, sans-serif;font-size: 12px;font-weight : bold;color: #000; }
#button ul {background-color: none;list-style: none;margin: 0;padding: 0;border: none; }
#button li {background-color: none;border-bottom: 1px solid #EBF5CE;margin: 0; }
#button li a {background-color: none;display: block;padding: 5px 5px 5px 0.5em;background-color: none;color: #99cc00;text-decoration: none;width: 100px; }
html>body #button li a {background-color: none;width: auto; }
#button li.on ul {display : block;background-color: none; }
#button li a:hover {background: -moz-radial-gradient(left, #fff, #fff, #fff, #EBF5CE );color: #acb0b6; }
#selected {color: #ff0000; }
/*Polices*****************************************************************************************************************************/
.Style1 {font-family: Arial, Helvetica, sans-serif; color: #000; font-size: 12px; }
.Style4 {font-family: Arial, Helvetica, sans-serif; color: #99cc00; font-size: 12px; font-weight: bold; }
.Style2 {font-family: Arial, Helvetica, sans-serif; color: #000; font-size: 11px; }
.Style3 {font-family: Helvetica, Tahoma,Sans-serif; color: #000; font-size: 26px; }
.Style18 {font-family: Arial, Helvetica, sans-serif; color: #000; font-size: 16px; font-weight: bold; }
.Style19 {font-family: Arial, Helvetica, sans-serif; color: #000; font-size: 14px; font-weight: bold; }
.Style5 {font-family: Helvetica, Tahoma,Sans-serif; color: #ACB0B6; font-size: 10px; }
.Style7 {font-family: Helvetica, Tahoma,Sans-serif; color: #000; font-size: 12px }
.Style9 {font-family: Helvetica, Tahoma,Sans-serif; color: #cccccc; font-size: 14px; font-style: italic; }
.Style6 {font-family: Helvetica, Tahoma,Sans-serif; color: #666666; font-size: 12px; }
.Style10 {font-family: Helvetica, Tahoma,Sans-serif; color: #fff; font-size: 16px; font-weight: bold; }
.Style11 {font-family: Helvetica, Tahoma,Sans-serif; color: #fff; font-size: 18px; }
.Style12 {font-family: Helvetica, Tahoma,Sans-serif; color: #fff; font-size: 14px; font-weight: bold; }
.Style23{font-family: Helvetica, Tahoma,Sans-serif; color: #fff; font-size: 12px; }
.Style12 {font-family: Arial, Helvetica, sans-serif; color: #fff; font-size: 13px; font-weight: bold; }
.Style17 {font-family: Arial, Helvetica, sans-serif; color: #CCCCCC; font-size: 10px; }
.Style16 {font-family: Arial, Helvetica, sans-serif; color: #CCCCCC; font-size: 12px; }
.Style26 {font-family: Arial, Helvetica, sans-serif; color: #ACB0B6; font-size: 20px; }
.Style20 {font-family: Arial, Helvetica, sans-serif; color: #99cc00; font-size: 16px; font-weight: bold; }
.Style22 {font-family: Arial, Helvetica, sans-serif; color: #99cc00; font-size: 12px; font-weight: bold; }
.Style23 {font-family: Arial, Helvetica, sans-serif; color: #99cc00; font-size: 14px; font-weight: bold; }
.Style25 {font-family: Arial, Helvetica, sans-serif; color: #99cc00; font-size: 10px; font-weight: bold; }
.Style24 {font-family: Arial, Helvetica, sans-serif; color: #99cc00; font-size: 26px; }
.Style30 {font-family: Arial, Helvetica, sans-serif; color: #346633; font-size: 14px; font-weight: bold; }
.Style31 {font-family: Arial, Helvetica, sans-serif; color: #346633; font-size: 12px; font-weight: bold; }
.Style32 {font-family: Arial, Helvetica, sans-serif; color: #346633; font-size: 10px; font-weight: bold; }
.Style40{font-family: Arial, Helvetica, sans-serif; color: #99cc00; font-size: 12px; }
.on {font-size: 12px;font-weight:bold; }
//*Fin CSS*//