j'aimerai savoir s'il est possible de mettre de 2 tableaux côte à côte avec NVU ??
Merci de vos réponses

Cordialement. Frèd.
Message envoyé avec : Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; Orange 7.4 ; NaviWoo1.1; .NET CLR 1.1.4322)
Modérateur : chinon37
Code : Tout sélectionner
Juxtaposé :
#div1 {
float: left;
border: 1px solid #ffcccc;
width: 50px;
}
#div2 {
float: left;
border: 1px solid #ffcccc;
width: 50px;
}
1 dessus flottant, 1 dessous dans le flux:
#div1 {
float: left;
border: 1px solid #ffcccc;
width: 50px;
}
#div2 {
border: 1px solid #ffcccc;
width: 50px;
}
1 dessus, 1 dessous aussi, tous les 2 dans le flux :
#div1 {
border: 1px solid #ffcccc;
width: 50px;
}
#div2 {
border: 1px solid #ffcccc;
width: 50px;
}
Code : Tout sélectionner
<body style="color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);" alink="#000099" link="#0000FF" vlink=
"#FF0000">
<table style="text-align: left; float: left; width: 446px; height: 60px;" border="1" cellpadding="2" cellspacing=
"2">
<tbody>
<tr>
<td></td>
<td></td>
</tr>
<tr>
<td></td>
<td></td>
</tr>
</tbody>
</table><br>
<table style="text-align: left; width: 484px; height: 60px;" border="1" cellpadding="2" cellspacing="2">
<tbody>
<tr>
<td></td>
<td></td>
</tr>
<tr>
<td></td>
<td></td>
</tr>
</tbody>
</table><br>
</body>
Code : Tout sélectionner
<body style="color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);" alink="#000099" link="#0000FF" vlink=
"#FF0000">
<table style="text-align: left; float: left; width: 446px; height: 60px;" border="1" cellpadding="2" cellspacing=
"2">
<tbody>
<tr>
<td></td>
<td></td>
</tr>
<tr>
<td></td>
<td></td>
</tr>
</tbody>
</table><br>
<table style="text-align: left; width: 484px; height: 60px; float: left;" border="1" cellpadding="2" cellspacing=
"2">
<tbody>
<tr>
<td></td>
<td></td>
</tr>
<tr>
<td></td>
<td></td>
</tr>
</tbody>
</table><br>
</body>
Je sais pas ce que Goëtter entend exactement par "s'écouler autour..." mais pas de se juxtaposer parfaitement par rapport au flottant, à mon avis.le reste du contenu du parent occupera alors l'espace laissé libre en commençant par s'écouler autour du flottant" (Raphael Goetter - memento css)
Dois-je insister : au même niveaubouquin CSS2, p.116 a écrit :Un des nombreux avantages du positionnement flottant est la possibilité de placer des blocs côte à côte. Transformer les deux paragraphes de l'exemple en flottant les fait ainsi apparaître au même niveau :}Code : Tout sélectionner
p#premier { float: left; width: 100px; background: #ccc; } p#second { float: left; width: 150px; background: green;
Utilisateurs parcourant ce forum : Aucun utilisateur inscrit et 3 invités