Positionnement d'image relative/absolu
Bonjour,
J'aimerais positionner 3 images (avec des zindex différents) dans une cellule.
J'aimerai positionnes ces images (un peu décalées) en absolu mais relativement par rapport au coin haut/gauche de ma cellule...
Code:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19
| <html>
<head>
<title></title>
</head>
<body>
<img id="div_0" style="margin:0;z-index:3;position:absolute;top:0;left:0;"/>
<img id="div_1" style="margin:0;z-index:2;position:absolute;top:10;left:10;"/>
<img id="div_2" style="margin:0;z-index:1;position:absolute;;top:20;left:20;"/>
<table width="400" border="1" align="center">
<tr height="150">
<td valign="top" align="left">
<img id="div_0" style="margin:0;z-index:3;position:relative;top:0;left:0;"/>
<img id="div_1" style="margin:0;z-index:2;position:relative;top:10;left:10;"/>
<img id="div_2" style="margin:0;z-index:1;position:relative;;top:20;left:20;"/>
</td>
</tr>
</table>
</body>
</html> |
Aidez moi svp...
Pascal