Absolute Positioning problem in IE6

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • jamesm6162
    New Member
    • Mar 2007
    • 16

    Absolute Positioning problem in IE6

    I have an image contained inside a div element somewhere in my page.

    Using javascript in the onclick event of the image, I change the position of the image to absolute and change the top and left of the image in order to enlarge it across the screen.

    Everything works fine in Firefox, IE7 and Opera, but not IE6.

    In IE6, the image stays inside the div, but most of it gets hidden behind the div because the div changes to a much smaller height.

    How do fix this bug and get the image to the front and out of the div?
    Edit/Delete Message
  • acoder
    Recognized Expert MVP
    • Nov 2006
    • 16032

    #2
    Post your code or a link.

    Comment

    Working...