je suis perdu ! Je souhaite afficher du contenu sous formes de colonnes, mais je n'arrive pas à aligner les <DIV> !
Voici le code html en question :
CODE
<DIV CLASS="milieu_sommaire">
<DIV class="cellule_sommaire">
CONNAISSANCES
<DIV CLASS="colonne">
<I>Article scientifique</I>
<UL><LI style="list-style-image: url(IMG/icone4.gif)">
<SPAN CLASS="listepuce">Article 1</A></SPAN></LI>
<LI style="list-style-image: url(IMG/icone4.gif)">
<SPAN CLASS="listepuce">Article 1</A></SPAN></LI>
<LI style="list-style-image: url(IMG/icone4.gif)">
<SPAN CLASS="listepuce">Article 1</A></SPAN></LI>
</UL>
</DIV>
<DIV CLASS="colonne">
<I>Sites Web</I>
<UL><LI style="list-style-image: url(IMG/icone4.gif)">
<SPAN CLASS="listepuce">Article 1</A></SPAN></LI>
<LI style="list-style-image: url(IMG/icone4.gif)">
<SPAN CLASS="listepuce">Article 1</A></SPAN></LI>
</UL>
</DIV>
<DIV CLASS="colonne">
<I>Autres documents</I>
<UL><LI style="list-style-image: url(IMG/icone4.gif)">
<SPAN CLASS="listepuce">Article 1</A></SPAN></LI>
<LI style="list-style-image: url(IMG/icone4.gif)">
<SPAN CLASS="listepuce">Article 1</A></SPAN></LI>
</UL>
</DIV>
</DIV>
</DIV>
<DIV class="cellule_sommaire">
CONNAISSANCES
<DIV CLASS="colonne">
<I>Article scientifique</I>
<UL><LI style="list-style-image: url(IMG/icone4.gif)">
<SPAN CLASS="listepuce">Article 1</A></SPAN></LI>
<LI style="list-style-image: url(IMG/icone4.gif)">
<SPAN CLASS="listepuce">Article 1</A></SPAN></LI>
<LI style="list-style-image: url(IMG/icone4.gif)">
<SPAN CLASS="listepuce">Article 1</A></SPAN></LI>
</UL>
</DIV>
<DIV CLASS="colonne">
<I>Sites Web</I>
<UL><LI style="list-style-image: url(IMG/icone4.gif)">
<SPAN CLASS="listepuce">Article 1</A></SPAN></LI>
<LI style="list-style-image: url(IMG/icone4.gif)">
<SPAN CLASS="listepuce">Article 1</A></SPAN></LI>
</UL>
</DIV>
<DIV CLASS="colonne">
<I>Autres documents</I>
<UL><LI style="list-style-image: url(IMG/icone4.gif)">
<SPAN CLASS="listepuce">Article 1</A></SPAN></LI>
<LI style="list-style-image: url(IMG/icone4.gif)">
<SPAN CLASS="listepuce">Article 1</A></SPAN></LI>
</UL>
</DIV>
</DIV>
</DIV>
Et les éléments CSS afférents :
CODE
.milieusommaire
{ padding-left: 36px;
width: 800px;
float: left;
clear: right;
}
.cellule_sommaire
{
font-size: small;
width: 100%;
float: left;
clear: left;
clear: right;
}
.colonne
{
width: 48%;
float: left;
border-color: #f40;
border-style: solid;
}
.listepuce
{
color: black;
font-size: x-small;
vertical-align: 3px;
}
{ padding-left: 36px;
width: 800px;
float: left;
clear: right;
}
.cellule_sommaire
{
font-size: small;
width: 100%;
float: left;
clear: left;
clear: right;
}
.colonne
{
width: 48%;
float: left;
border-color: #f40;
border-style: solid;
}
.listepuce
{
color: black;
font-size: x-small;
vertical-align: 3px;
}
Quelqu'un peut-il m'aider ? Je suis perdu dans tous mes clear et float...