Voici un code exemple avec un <TABLE> (image satellite centrée sur St Martin, nord des Petites Antilles.)
<table align="center" border="0" cellpadding="0" cellspacing="0" style="background-image: url(http://wublast.wunderground.com/cgi-bin/WUBLAST?lat=18.07&lon=-63&width=200&height=200&radunits=km&radius=700&gtt=63&num=12&delay=50&key=sat_ir4&basemap=1&borders=1&theme=WUBLAST_WORLD&extension=gif&proj=ll&timelabel.x=0&timelabel.y=12); background-position: 50% 50%; background-repeat: no-repeat; height: 200px; width: 200px;">
<tbody>
<tr>
<td></td>
</tr>
</tbody>
</table>
Avec un <DIV>, c'est encore plus simple...
<div style="background-image: url("http://wublast.wunderground.com/cgi-bin/WUBLAST?lat=18.07&lon=-63&width=200&height=200&radunits=km&radius=1500&gtt=63&num=12&delay=50&key=sat_ir4&basemap=1&borders=1&theme=WUBLAST_WORLD&extension=gif&proj=ll&timelabel.x=0&timelabel.y=12"); background-position: 50% 50%; background-repeat: no-repeat; height: 200px; margin-left: auto; margin-right: auto; width: 200px;">
</div>
<table>
+ |
<div>
Si vous êtes intéressé par ces images satellite et leurs paramètres, j'ai fait une page-tuto il y a bien longtemps. Elle est un peu déglinguée mais encore utile...
Aucun commentaire:
Enregistrer un commentaire