Click to See Complete Forum and Search --> : i know its possible


dennic
02-11-2003, 04:32 PM
i need to write text over part of an image, problem is i dont know how to do it. i have positioned the image using dhtml, but have wrote the text under normal html tags.

what do i need to do?

here is some of the code that i have used.

<!--Image placement-->

<style>

#quarry {position: absolute; right:34px; top:89px}

</style>

<br>
<br>

<body>

<!--Here is the text i need to plae over part of the image-->

<!--Paragraph 1-->

Our quarry is situated at Stanwell, about 25 kilometres west of Rockhampton, Queensland.

The present owners of the quarry have had over 20 years experience in
<br>
the sandstone quarrying/manufacturing industry
<br>
and formerly owned sandstone quarries in NSW
<br>

thanks heaps i advance for whoever can help me

pyro
02-11-2003, 05:05 PM
Is this the effect you were looking for?

<html>
<head>
<title>Fullscreen image</title>

<!--Image placement-->

<style>

#quarry
{
position: absolute;
right:34px;
top:89px
}

#quarry2
{
position: absolute;
right:34px;
top:89px;
width: 300px /*Set to be the same as the width of your image*/
}

</style>

<br>
<br>

<body>

<!--Here is the text i need to plae over part of the image-->

<img src="yourimg.gif" id="quarry">

<!--Paragraph 1-->
<div id="quarry2">
Our quarry is situated at Stanwell, about 25 kilometres west of Rockhampton, Queensland.

The present owners of the quarry have had over 20 years experience in
<br>
the sandstone quarrying/manufacturing industry
<br>
and formerly owned sandstone quarries in NSW
<br>
</div>

</body>
</html>

Stefan
02-14-2003, 06:51 AM
Another version would be

<div style="position:absolute; right:34px; top:89px">
<img>
<div style="position:absolute; top:0 left:0;">
This text will start in the upper left corner over the image
</div>
</div>