layering with IE

They have: 117 posts

Joined: Feb 2000

Hello,

With NS I was able to do something like:

Here is some text
that I am writing over
an image.

This will write the text directly on top of the image. Does anyone know how I can get the same effect using IE? Thanks.

Bob

They have: 677 posts

Joined: Mar 1999

Try this:

<html>
<body>


<span style="position: absolute; left: 20; top: 50">


<img src="image.jpg" border="0" width="32" height="32">

</span>
<span style="position: absolute; left: 75; top: 120">
<p>Here is some text<br>
that I am writing over<br>
an image.
</span>
</body>
</html>
'

Ken Prescott

They have: 117 posts

Joined: Feb 2000

Ken,

Thanks! That works. In the meantime, I also figured out another way (similar, but not the same). I used:

.c { position: relative; left: 5px; top: -160px; font-size: 18px }

Here is some text
that I am writing over
the image

Thanks again for your help!

Bob

disaster-master's picture

She has: 2,154 posts

Joined: May 2001

Looks like you have your problem solved but just in case ya want to read... I found an article on placing text over images.

http://webdeveloper.earthweb.com/pagedev/html/table/article/0,,12219_602021,00.html

disaster-master

They have: 117 posts

Joined: Feb 2000

Disaster-master,

Thanks! There's a lot of great information out there!

Bob

Want to join the discussion? Create an account or log in if you already have one. Joining is fast, free and painless! We’ll even whisk you back here when you’ve finished.