Positionner un tableau à droite dans un div ?
bonjour j'essaye de positionner mon tableau à droite mais il reste à toujours à gauche je ne sais pour quelles raisons
Code:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36
| #IdTabBouton{
width:9%;
height:80%;
position:absolute;
right:0px;
z-index:2;
background-color:#372F25;
}
table#bouton {
width:100%;
height:100%;
position:absolute;
}
#IdDivIm{
width:90%;
height:100%;
position:relative;
/*pour ne pas être en desous du menu quand il est fermé et dont la taille de la barre vaut 29 correspond à wrg dans la fonction mng*/
left:0px;
background-color:#132959;/*#000000;*/
}
#PageConteneur
{
width:100%;
height:80%;
position:relative;
top:10%;
/*pour ne pas être en desous du menu quand il est fermé et dont la taille de la barre vaut 29 correspond à wrg dans la fonction mng*/
left:0px;
background-color:#132959;
} |
Code:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49
| <div id='PageConteneur' style="position:absolute; overflow:hidden;" ><!---->
<!-- div Tableau de bouton-->
<div id='IdTabBouton'>
<table id='bouton'>
<TR >
<td><img src='icon/doc_mesure_distance.png' onclick="activateLine();"></img> </td>
<td><img src='icon/doc_mesure_angle.png' onclick="activateAngle()";></img> </td>
</TR >
<TR >
<td><img src='icon/doc_fenetre_n.png' onclick="contraste();desactivateBoth();"></img> </td>
<td><img src='icon/doc_inversion_lum_const.png'onClick='invert();desactivateBoth();'></img> </td>
</TR>
<TR >
<td><img src='icon/doc_inversionDG.png'onClick='flipH();desactivateBoth();'></img> </td>
<td><img src='icon/doc_inversionHB.png' onClick='flipV();desactivateBoth();'></img> </td>
</TR>
<TR >
<td><img src='icon/doc_loupe_n.png'onclick="downloadWithajax();"></img> </td>
<td><img src='icon/doc_Rot 90G.png'onclick="downloadWithajax();"></img> </td>
</TR>
<TR >
<td><img src='icon/doc_RapatrierDicom.png'></img> </td>
<td><img src='icon/doc_mesure_niveau-cercle.png'></img> </td>
</TR>
<TR >
<td><img src='icon/precedent.jpg' onclick="imgPrecedente();desactivateBoth();"></img> </td>
<td><img src='icon/suivant.jpg' onclick="imgSuivante();desactivateBoth();"></img> </td>
</TR>
</table>
</div>
<div id='IdDivIm' style="position:absolute; overflow:hidden;" >
autre chose.................
</div>
</div> |
merci