Il y a bien longtemps que je ne vous avais pas ennuyé avec mes problèmes, mais, là, je sèche !
J'ai en colonne gauche de mon site un menu avec dessous les éléments d'appel aux diverses pages (ou sous-menus).
Cette colonne mord sur la colonne qui est à sa droite et refuse tant de se caler à gauche que de s'élargir.
Evidemment, la CSS ne simplifie pas la lecture d'autant que j'ai ajouté plusieurs notions (div, par exemple) pour tenter d'obtenir le résultat voulu.
Adresse du site : http://www.ainesruraux22.org/
Je joins ici le code de la CSS :
Code : Tout sélectionner
body
{
background-color:#ffffc0;
fixed;
color:blue;
font-family: verdana, helvetica, arial, sans-serif ;
font-size: medium;
line-height: 200%
}
p
{
font-size: 12px;
}
.colgch
{
float:left;
width:14%;
margin-left:0;
margin-right:auto;
}
.centrage
{
text-align: center ;
}
.logo
{
width:84%;
height:84%;
}
.imghv
{
width:340px;
height:255px;
}
.imght
{
width:255px;
height:340px;
}
.menu
{
font-size: xx-large;
line-height:200%;
}
.menucorps
{
font-size:80%;
width:84%;
line-height:80%;
margin:left="0px";
display:block;
}
.navigation
{
text-decoration: none;
margin:left="0px";
padding:left="0px"
align=left;
margin:right="0px";
list-style-type:none;
}
.navigation li
{
text-decoration: none;
border: 1px solid #600 ;
margin-bottom: 1px ;
list-style-type:none;
}
.navigation li a
{
display: block;
font-size: 1.1em;
margin-bottom: 1px;
line-height: 160%;
}
.navigation a:link
{
text-decoration: none;
color: #0099cc
font-style: italic;
}
.navigation a:hover
{
text-decoration: underline;
color: green;
}
.navigation a:visited
{
color:#b0171f;
text-decoration: none;
}
.navigation a:focus
{
background-color: #FFCC66;
}
.navigation a:active
{
background-color: #FFCC66;
}
.cotarm
{
text-align: center;
width: 60%;
}
.colreg
{
float:right;
width:85%;
}
.titre_fede
{
width:75%;
height:40px;
margin-left:9em;
}
.colmil
{
width: 50%;
float: left;
font-size: 1.5em ;
text-align: left;
padding-top: 1.9em;
}
.accueil
{
font-size: 1.6em;
padding-left: 4%;
}
.accueil2
{
font-size: 0.65em;
width:95%;
font-weight:bold;
}
.bloc-adr
{
display: block;
color:navy;
font-size: 0.75em;
padding-top: 1.3em;
padding-left: 6%;
text-align: left;
font-weight:bold;
}
.tel
{
font-size: 0.7em;
color:navy;
text-align: center;
padding-top: 1em;
}
.coldrtrectif
{
width: 49%;
float: right;
font-size: 1.5em ;
text-align: left;
padding-left: 0px;
padding-top: 0.75em;
}
.coldrt
{
width: 47%;
float: right;
font-size: 1.0em ;
text-align: left;
padding-left: 0px;
padding-top: 0.75em;
}
.depart
{
margin-top:1em;
width:90%;
height:90%;
}
.symbole
{
width:25%;
text-align: center;
}
img.centrimg
{
display:block;
margin-left:auto;
margin-right:auto
}
.colreg2 { float:right; font-size: 130%}
.colreg 3
{
float:left;
width:85%;
white-space:normal;
text-align:justify;
}
.centered
{
padding-top:1.2em;
text-align: center;
width:90%;
}
.centered2
{text-align:center;
font-size:1.5em;
font-weight:bold;
}
.titrepag { color: blue; text-align:center; font-size:3em; font-weight: bold; padding-top:1.5em; }
.titrepagsect { color: blue; text-align:center; font-size:3em; font-weight: bold; }
.titrepagobj
{
text-align:center;
font-size:2.25em;
font-weight: bold;
}
.bordersans {border-style: none }
.centered0 {text-align:left; font-size:0.75em;}
.center3 {text-align: center; color:#000;}
.stylcaption { font-size:60%em;font-weight: bold; padding-bottom: 0.4em; }
thead {font-weight: bold; font-size: 1.0em; text-align: center;
border:0px solid #6495ed;
}
tbody
{
border:1px solid #6495ed;
background-color:#ffffc0;
font-size: 0.9em;
font-weight: lihgter
}
th
{
font-size:120%;
text-align:center;
}
td
{
font-weight:lighter;
font-size:100%;
}
table
{
height:200%;
width:100%
border-collapse:collapse;
}
th, td
{
border:1px solid black;
}
caption
{
font-weight:bold;
font-size:150%;
line-height:200%
}
.navigcant
{
text-align:center;
width:2%;
vertical-align:middle;
}
.vertical
{
vertical-align:middle;
}
.calenmicro
{
text-align:center;
width:2%;
vertical-align:middle;
}
.soft
{
font-size:1.1em;
}
.soft2
{font-size:0.9em;
}
.coldouble
{
width:30%;
}
.colsimple
{
width:15%;
}
.petcap
{
font-variant:small-caps;
}
.colpetit
{
width:2.5%;
}
.coldoubl4
{
width:44%;
}
.colsimpl4
{
width:20%;
}
.col27
{
width:27%;
}
.col23
{
width:23%;
}
.col10
{
width:10%;
font-size:0.7em;
text-align:center;
}
.colcomplem
{
width:38%;
}
.colprenom
{
font-weight:bold;
}
.colnoirgras
{
font-weight:bold;
color: black;
}
.colnom
{
font-weight:bold;
}
.coldate
{
font-size:0.7em;
text-align:center;
width:6%;
}
.colcommune
{
font-size:1.0em;
font-weight:bold;
text-align:left;
width:15%;
}
.colbureau
{
text-align:right;
font-weight: 200;
font-size:0.7em;
width: 8%
}
.colfonction
{
font-weight:normal;
}
.colcanton {
font-weight:normal;
}
.colmil60 { width: 60%; float: left; font-size: 1.0em ; text-align: left; padding-top: 0.9em; }
.acc-leger { color: black; font-size: 100%; padding-left: 5%; padding-right: 5%;text-align: left; padding-top: 1.2em;font-weight:normal;}
.acc-simple
{
font-size:150%;
padding-left:5%;
padding-top: 1.2em;
}
.coldrt60 { width: 37%; float: right; font-size: 1.0em ; text-align: left; padding-left: 5px; padding-top: 0.75em;}
.coldrt cadredrt p { text-align: left; font-size: 0.8em; color:#000080;font-weight: bold; }
.centre { text-align: center; }
.cadre3
{
font-size:x-large;
padding-left:5%;
}
.cadre4 {font-size: large;}
.cadre5
{
font-size: x-large;
}
@bientôt RJL9511
Message envoyé avec : Mozilla/5.0 (Windows; U; Windows NT 5.1; fr; rv:1.9.0.10) Gecko/2009042316 Firefox/3.0.10