Bonjour,  
 
Je suis en train de faire un site en SPIP et j'ai un problème au niveau de ma feuille de style : Je souhaiterai que mon bloc de menu s'allonge automatique jusqu'à mon pied de page.
 
Voilà deux screen-shot pour vous permettre de comprendre mon problème.
http://lousfaiences.free.fr/spip/f [...] r_menu.JPG
http://lousfaiences.free.fr/spip/forum/menu.JPG
 
Je souhaiterai donc que mon bloc #navigation s'allonge et aille toucher systèmatiquement le bloc #pied quelque soit la taille de mon contenu.
 
Voilà mon fichier html :  
| Code : 
 <body class="page_rubrique"><div id="page">	[(#REM) Entete de la page + titre du site ]	<INCLURE{fond=inc-entete}>	<div id="conteneur">  [(#REM) Menu de navigation laterale ]  <div id="navigation">  	[(#REM) Menu de navigation par rubriques ]  	<INCLURE{fond=inc-rubriques}{id_rubrique}>  	[(#REM) Menu de navigation mots-cles ]  	<B_mots>  	<div class="divers">    <h2 class="menu-titre"><:mots_clefs:></h2>    <ul>    	<BOUCLE_mots(MOTS) {id_rubrique} {par titre}>    	<li><a href="#URL_MOT" rel="tag">#TITRE</a></li>    	</BOUCLE_mots>    </ul>  	</div>  	</B_mots>  </div><!-- fin navigation -->  [(#REM) Contenu principal : contenu de la rubrique ]  <div id="contenu">	[(#REM) Fil d'Ariane ]	<div id="hierarchie"><a href="#URL_SITE_SPIP/"><:accueil_site:></a><BOUCLE_ariane(HIERARCHIE){id_rubrique}> > <a href="#URL_RUBRIQUE">[(#TITRE|couper{80})]</a></BOUCLE_ariane>[ > (#TITRE|couper{80})]</div>  	...  </div><!-- fin contenu -->	</div><!-- fin conteneur -->	[(#REM) Pied de page ]	<INCLURE{fond=inc-pied}{skel=#SQUELETTE}></div><!-- fin page --></body>
 | 
 
Le fichier inc-rubriques.html :  
| Code : 
 <B_rubriques><div class="rubriques">	<!--<h2 class="menu-titre"><:rubriques:></h2>-->	<ul>	<BOUCLE_rubriques(RUBRIQUES) {racine} {par num titre} {tout}>  <li>  	<img src="#CHEMIN{puce_orange.png}" alt="puce" class="format_png" />  <a href="#URL_RUBRIQUE"[ class="(#EXPOSE)"]>[(#TITRE|couper{80})]</a>  	<B_sous_rubriques>  	<ul>    <BOUCLE_sous_rubriques(RUBRIQUES) {id_parent} {par num titre, titre}>    	<BOUCLE_test_expose(RUBRIQUES)      {id_enfant}>#EXPOSE{' '}    	</BOUCLE_test_expose>    	<li><img src="#CHEMIN{puce_bleue.png}" alt="puce" class="format_png" />      <a href="#URL_RUBRIQUE"[ class="(#EXPOSE)"]>      	[(#TITRE|couper{80})]      </a>      <BOUCLE_re(BOUCLE_sous_rubriques)></BOUCLE_re>    	</li>    	</B_test_expose>    </BOUCLE_sous_rubriques>  	</ul>  	</B_sous_rubriques>  </li>	</BOUCLE_rubriques>	</ul></div></B_rubriques>
 | 
 
Et ma css :  
| Code : 
 body {	background: #FFF;	margin: 1.5em;	text-align: center;	font-size: 1em;	color: #333;}/*  ------------------------------------------
/*  Disposition a l'ecran des blocs principaux
/*  ------------------------------------------ */#page {
	width: 48em;
	text-align: left;
	margin-left: auto;
	margin-right: auto;
}
#conteneur { width: 100%;}
#conteneur #contenu {
	float: left;
	width: 27em;
	margin-left:2em;
}
#conteneur #navigation {
	float: left;
	width: 10.5em;
	text-align: center;
	/*min-height:Inherit;*/	background-image:url(fond_menu_degrade.jpg);  }
/* Entete */#entete {
	width: 100%;  	height:80px;}
#entete #nom_site_spip, #entete a .spip_logos {
	display: block;
	float: left;
	font-weight: bold;
	font-size: 1.5em; }
#entete a { text-decoration: none; }
#entete .formulaire_recherche { float: right; }
/* Fil d'Ariane */#hierarchie {
	/*clear: both;*/	margin-bottom: 2em;
	left:15em;
	font-size: 0.71em;/*0.77em KCA 23/09/07*/	}
/* Pied de page */#pied {
	clear: both;
	width: 100%;
	/*margin-top: 4em;*/	border-top: 1px dotted #CCC;
	/*padding: 2px;*/	text-align: center;
	background: #c7d8ec;  	}
#pied small { font-size: 0.77em;}
#pied img { vertical-align: bottom; }
/*  ------------------------------------------
/*  Habillage des menus et de la navigation
/*  ------------------------------------------ */
/*  Habillage general des menus de navigation
---------------------------------------------- */.rubriques, .breves, .syndic, .forums, .divers {	min-width: 10em;	border: 0px solid #CCC;	margin-bottom: 0em;	font-size: 0.77em;}.menu-titre {	/*padding: 0.2em 0.4em;*/	/*border-bottom: 1px dotted #CCC;*/	text-align: center;	font-weight: bold;}#navigation p, .encart p { margin: 0; padding: 0.2em 0.7em; text-align: left;  }#navigation ul, .encart ul { margin: 0; padding: 0.2em 0; text-align: left; list-style: none; }#navigation li, .encart li { margin: 0; margin-top: 1em; padding: 0 0.7em; }/*  Des couleurs specifiques selon les types de menus
---------------------------------------------- */.rubriques { /*background: #002f55;*//*EAFFEA KCA 23/09/07 */
  	background-image:url(fond_menu_degrade.jpg);  	color:#FFF; /*KCA*/  	}.rubriques a{color:#FFF;text-decoration:none;}.rubriques a:hover{color:#B1540F;text-decoration:none;}.rubriques .menu-titre { background: #002f55; } /*F2FFF2 KCA 23/09/07*//*  ------------------------------------------
/*  Habillage du contenu
/*  ------------------------------------------ */
/*  Cartouche et titraille
---------------------------------------------- */.cartouche { margin-bottom: 2em;}.cartouche .titre {	font-size: 1.27em;	font-weight: bold;	color: #B1540F; border-bottom: 1px dashed #C7D8EC;}#contenu .surtitre, #contenu .soustitre { font-size: 0.82em;color: #B1540F; }.cartouche .spip_logos {	float: right;	margin-left: 16px;	margin-bottom: 16px; }.cartouche p { margin: 0; padding: 0; clear: left; }.cartouche small { font-size: 0.71em; }.cartouche .traductions { font-size: 0.71em; }.cartouche .traductions * { display: inline; }.cartouche .traductions li { padding-left: 1em; }/*  Mise en forme des textes du contenu
---------------------------------------------- */.chapo {	margin-bottom: 1.5em;	font-weight: bold;	line-height: 1.4em; }.lien {	background: #EEE;	margin: 1em;	margin-bottom: 1.5em;	padding: 0.82em;	border: 1px solid #CCC;	font-size: 0.82em;	font-weight: bold; }.texte { color: #000; font-size: 0.96em; }.ps, .notes {	margin-top: 1.4em;	padding-top: 2px;	border-top: 2px solid #CCC; }.ps { font-size: 0.82em; }.notes { clear: both; font-size: 0.77em; }.ps h2, .notes h2 { font-size: 1.19em; font-weight: bold; }/*  Listes de documents joints (a un article ou une rubrique)
---------------------------------------------- */#documents_joints {	margin-top: 1.4em;	padding-top: 2px;	border-top: 2px solid #CCC; }#documents_joints h2 { margin-bottom: 0.4em; font-size: 0.88em; font-weight: bold; }#documents_joints ul { margin: 0; padding: 0; list-style: none; }#documents_joints li { margin-bottom: 0.4em; }#documents_joints li .spip_doc_titre {}#documents_joints li .spip_doc_titre small { font-weight: normal; }#documents_joints li .spip_doc_descriptif {}/* Listes d'articles et extraits introductifs
----------------------------------------------- */.liste-articles ul { margin: 0; padding: 0; list-style: none; }.liste-articles li { margin-bottom: 1em; clear: both; color:#B1540F}.liste-articles li .titre {	font-size: 1.03em;	font-weight: bold;	color:#B1540F;}.liste-articles li .spip_logos {	float: right;	margin-left: 16px;	margin-bottom: 16px;	clear: right; }.liste-articles li p { margin: 0; padding: 0; }.liste-articles li .enclosures {	float: right;	text-align: right;	max-width: 60%;	margin: 0; }.liste-articles li small {	display: block;	font-size: 0.71em; }.liste-articles li .texte {	margin-top: 5px;	margin-bottom: 2em;	border: 1px solid #CCC;	padding: 0.9em;	font-size: 0.82em;	line-height: 1.4em; }.pagination { font-size: 0.90em; }/*  ------------------------------------------
/*  Habillage specifique du plan du site
/*  ------------------------------------------ */
.page_plan .cartouche { display: none; }
.page_plan #contenu h2 {
	clear: both;
	background: #EEE;
	border: 1px solid #CCC;
	padding: 0.5em;
	margin-bottom: 1em;
	font-weight: bold;
	text-align: center; }
.page_plan #contenu .contre-encart ul {
	display: block;
	clear: left;
	margin-top: 0;
	margin-bottom: 1em;
	padding-top: 0; }
.page_plan #contenu .contre-encart li {}
 | 
 
J'ai essayé plusieurs choses au niveau du bloc #navigation
entre les min-height, height, mettre la valeur en %, je ne vois pas du tout comment je peux faire ça et surtout si c'est possible.
Merci de votre aide
 
Karine 
 
Message édité par karinou le 25-09-2007 à 14:19:53