On 2007-01-27, Tobi Hammert <sp*******@gmail.comwrote:
hm... this does not work.
the text layer should be placed on top of the picture...
The problem is we don't know what the rest of your document looks like.
It would work in many circumstances. Post a link to your page.
now its just adding the 300px and putting the text under the picture.
but i want the text to cover the pic.
This is a similar suggestion:
div.text_layer
{
position: absolute;
width: 10em;
margin: 0 auto;
top: 300px;
left: 0;
right: 0;
}
....
<div class="text_layer">text</div>
That will probably put the text layer on top if the image is
normal-flow. But it all depends on the rest of the document which we
can't see!