Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 4 of 4
  1. #1
    Regular Coder
    Join Date
    Aug 2005
    Posts
    257
    Thanks
    8
    Thanked 0 Times in 0 Posts

    image over image

    Hi,

    I have problem with this code:

    PHP Code:
    <div style="position:absolute;float:left;"><img src="images/x.png" border="0"></div
    This code attempts to superimpose an image over another. My code works in firefox but not in IE8. How I can fix?

  • #2
    Regular Coder
    Join Date
    May 2009
    Posts
    813
    Thanks
    123
    Thanked 24 Times in 24 Posts
    <div style="position: absolute; left: (size); center: (size)>

    You do not need the float with a pa
    Give the div a position to sit on.

  • #3
    Regular Coder
    Join Date
    Aug 2005
    Posts
    257
    Thanks
    8
    Thanked 0 Times in 0 Posts
    Yes, I tried without success. But thanks anyway.
    F* IE8:<

  • #4
    Regular Coder
    Join Date
    May 2009
    Posts
    813
    Thanks
    123
    Thanked 24 Times in 24 Posts
    You will need to post more code, as the code you post is only for one image anyway.


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •