Jump to content

Making a image appear in the same place on no matter what platform or browser

- - - - -

  • Please log in to reply
2 replies to this topic

#1
welton122

welton122

    Learning Programmer

  • Members
  • PipPipPip
  • 76 posts
Hello all,

I have one nice big graphic on my site and i am wanting to place another image (a button) over the top of it. The problem i am having is making the second image appear in the same spot on every platform and browser. Whats the easiest way of doing this?

Thanks,
J

#2
Vaielab

Vaielab

    Programming God

  • Members
  • PipPipPipPipPipPipPip
  • 547 posts

<div style="position:relative">

<img src="http://forum.codecall.net/html-programming/..." />

<input type="button" style="position:absolute; top: 50px; left:50px" />

</div>


This should display the same in every browser... (not 100% sure about ie6)

#3
welton122

welton122

    Learning Programmer

  • Members
  • PipPipPip
  • 76 posts
thanks, that worked a treat




1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users