Aligner une image background à droite
Bonjour,
J'aimerais aligner une image d'arrière plan à droite. C’est important qu'elle soit aligner, je ne peux pas définir sa position car elle est susceptible de bouger :?
J'ai fait çà pour l'instant avec 2 <div> après moultes essais :
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
| <td style="background-image : url(images/Center_back.jpg); background-repeat : repeat-x;" valign="top">
<div style="float : right;">
<table border="0" cellspacing="0" cellpadding="0" align="right">
<tr>
<td valign="top">
<img src="images/Amer_back.jpg">
</td>
</tr>
</table>
</div>
<div>
<table width="100%" border="5" cellspacing="0" cellpadding="0">
<tr>
<td>
<img src="images/VC_back.jpg">
</td>
</tr>
<tr>
<td align="center" onMouseOver="this.style.backgroundColor='red'" onMouseOut="this.style.backgroundColor='transparent'">
LE RESTE DE MA PAGE
</td>
</tr>
</table>
</div>
</td> |
Mais çà me donne vraiment un truc tout vilain sou FireFox :
http://sgc.storage.free.fr/VC1.jpg
Et sous IE çà bug completement :cry:
http://sgc.storage.free.fr/VC2.jpg
( la solution définitive doit ressemblé à çà :
http://www.jemer.teaser-hosting.com/ForumVC/index.php
mais pour l'instant je triche et j'ai des bugs ... )
J'ai essayé la propriété "zindex" de la div mais çà ne change rien. En plus, je ne peux pas me permettre de ne pas être compatible IE. Découragé, je me tourne vers les pros :wink: Existe-t-il un moyen d'aligner à droite un background ou je laisse tomber ?