Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Floating text problem 1

Status
Not open for further replies.

KBBJ

Programmer
Jun 30, 2001
62
DK
I need to place text different places on the screen.
I wrote this code:
<span id=Te>
Hello
</span>
<script language=&quot;jscript&quot;>
document.all.Te.style.position = &quot;absolute&quot;;
document.all.Te.style.posLeft = 84;
document.all.Te.style.posTop = 72;
</script>

But it can’t be done in Internet Explorer 4.

Could I with some changes, run this code on Explorer 4?

Thanks from KBBJ (-:
 
Thanks to both of you. I have never done things like this. The PixelTop and PixelLeft, works terrific on Explorer 5. Now I just have to try it tomorrow on Explorer 4.

From KBBJ (-:
 
Check out the Cross-Browser style API (Thread215-152607). It's supposed to support IE4.x too. Tracy Dryden
tracy@bydisn.com

Meddle not in the affairs of dragons,
For you are crunchy, and good with mustard.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top