I am very new to PHP. I am working on a site that I have multiple products
displayed using a mySQL database. They are working great with the exception of
the "click for an
enlargement" feature.

Right now the enlargements are housed in dynamically generated Layers. The
show/hide works fine. It is the position of the layers that I am having
trouble with.

Right now I am using a this:

<style type="text/css">
<!--
#<?php echo
$row_rsStickerLayers['Sticker_Image']; ?> {

position:absolute;

left:200px;

top:<?php echo $row_rsStickerLayers['ID_Stickers']*160; ?>px;

width:<?php echo $row_rsStickerLayers['Sticker_ImageLargeWidth']; ?>px;

height:<?php echo $row_rsStickerLayers['Sticker_ImageLargeHeight']; ?>px;

z-index:2;

visibility: hidden;
}
-->
</style>

I am just multiplying the ID of the piece by 150 to get it lower on the
page. This works sort of but as I add more products this will no longer be
effective.

Is there some way of knowing the dynamically generated thumbnail's position
on a page and using it's position to position the layers?

[url]http://www.kirkcules.com/stickers.php[/url]

-Kirk