Re: More on position fixed

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • sheldonlg

    Re: More on position fixed

    I found out that the IE7 problem has nothing to do with the conditional
    code. If I remove that conditional code, IE7 still has the block
    moving. See: http://www.sheldonlg.com/popup/popupLoc1.html

    The line in IE7 that causes the problem is (I will refer to this as "The
    Line"):
    * html .exclude_form_c lass {position:absol ute;}
    See (in IE7): http://www.sheldonlg.com/popup/popupLoc2.html
    Removing "the Line" causes a gap in IE6 and the block acts as position
    absolute.

    So, I put back the conditional code for IE6.
    See: http://www.sheldonlg.com/popup/popupLoc4.html
    With this, the IE6 still shows the same problems and (it must need "The
    Line" to function properly) AND the IE7 stops working. (Why should IE7
    stop working by putting back conditional code for lte IE6?)

    Summary:
    1 - Conditional Code for IE6 + "The Line" ==IE6 OK, IE7 bad.
    2 - No condition code, "The Line" in place ==IE6 bad 9as expected),
    IE7 bad (popupLoc1)
    3 - No conditional code, "The Line" removed ==IE6 bad 9as expected),
    IE7 good (popupLoc2)
    4 - Conditional Code, "The Line" removed ==IE6 still bad, and IE7 bad
    (even though code is for IE6) (popupLoc4)
  • David Mark

    #2
    Re: More on position fixed

    On Aug 9, 11:46 pm, sheldonlg <sheldonlgwrote :
    I found out that the IE7 problem has nothing to do with the conditional
    code.  If I remove that conditional code, IE7 still has the block
    moving.  See:http://www.sheldonlg.com/popup/popupLoc1.html
    >
    The line in IE7 that causes the problem is (I will refer to this as "The
    Line"):
    * html .exclude_form_c lass {position:absol ute;}
    See (in IE7):http://www.sheldonlg.com/popup/popupLoc2.html
    Removing "the Line" causes a gap in IE6 and the block acts as position
    absolute.
    >
    So, I put back the conditional code for IE6.
    See:http://www.sheldonlg.com/popup/popupLoc4.html
    With this, the IE6 still shows the same problems and (it must need "The
    Line" to function properly) AND the IE7 stops working.  (Why should IE7
    stop working by putting back conditional code for lte IE6?)
    >
    Summary:
    1 - Conditional Code for IE6 + "The Line" ==IE6 OK, IE7 bad.
    2 - No condition code, "The Line" in place ==IE6 bad 9as expected),
    IE7 bad (popupLoc1)
    3 - No conditional code, "The Line" removed ==IE6 bad 9as expected),
    IE7 good (popupLoc2)
    4 - Conditional Code, "The Line" removed ==IE6 still bad, and IE7 bad
    (even though code is for IE6)  (popupLoc4)
    1. Change your docType to HTML Strict
    2. Remove the CC
    3. Test IE7 with position:fixed (it works in standards mode)
    4. Add CC with workaround for IE < 7 only

    Comment

    Working...