Jump to content

Positioning Image Behind


Guest Romuald632

Recommended Posts

Guest Romuald632

Hello, 'm french so sorry for my english !!I try postioning an image behind another oneThis my PHP code

<?php$image=$_GET['image'];$photo =mysql_query('SELECT DISTINCT image,ville,titre_image,auteur,copyright,site_web FROM photo WHERE photo.image="'.$image.'"');while ($gd_photo = mysql_fetch_array($photo) )	 {			echo '<li class="pays"><img src="images/pt_logo_photo_01.png" /> Vous ĂȘtes ici <img src="images/fleche_01.png" /> Photos <img src="images/fleche_01.png"> '.$gd_photo['ville'].'</li>';	echo "<br/>";	echo "<br/>";	echo '<div class="gd_photo">';	echo '<img src="../upload/'.$gd_photo['image'].'" width="600" border="0">';	echo '<br />';	echo $gd_photo['titre_image'];	echo '<br />';	echo "</div>";}?>

This is the title of my image : <img class="x" src="images/transparent_01.png" />And this is my CSS code :

img.x{position:absolute;left:200px;top:185px;z-index:1}

It's OK for 1024 resolution, but no for 800x600 resolution.I try too "relative" but it's bad...Can you help me ?

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...