Home Articles FAQs XREF Games Software Instant Books About Feedback Search Site-Map
irt.org logo

Q1381 How can I position a layer relative to an image?

irt.org | Knowledge Base | DHTML | Q1381 [ previous next ]

Q1381 How can I position a layer relative to an image?

Try:

<html>

<body>

<br>
<br>
<br>
<br> create some space
<br>
<br>
<br>
<br>

<img src="image.gif">

<div style="position:relative; left:100; top:50;">
This text is relative to the image
</div>

</body>

</html>

Provide feedback ...
AddThis Social Bookmark Button

Provide feedback ... AddThis Social Bookmark Button


Last Updated: 30th March 2008. Maintained by: Martin Webb
irt.org liability, trademark, document use, privacy statement and software licensing rules apply.
Copyright © 1996-2008 irt.org, All Rights Reserved.