Re: More on position fixed

Discussion in 'HTML' started by David Mark, Aug 10, 2008.

  1. David Mark

    David Mark Guest

    On Aug 9, 11:46 pm, sheldonlg <sheldonlg> wrote:
    > 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_class {position:absolute;}
    > 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
    David Mark, Aug 10, 2008
    #1
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Leif K-Brooks

    Position:fixed and IE/Win

    Leif K-Brooks, Jul 9, 2003, in forum: HTML
    Replies:
    2
    Views:
    432
    Leif K-Brooks
    Jul 9, 2003
  2. johnp
    Replies:
    4
    Views:
    3,654
    Toby Inkster
    May 23, 2005
  3. Michael
    Replies:
    4
    Views:
    396
    Matt Hammond
    Jun 26, 2006
  4. BootNic

    Re: More on position fixed

    BootNic, Aug 10, 2008, in forum: HTML
    Replies:
    6
    Views:
    485
    BootNic
    Aug 12, 2008
  5. Robert Klemme

    With a Ruby Yell: more, more more!

    Robert Klemme, Sep 28, 2005, in forum: Ruby
    Replies:
    5
    Views:
    202
    Jeff Wood
    Sep 29, 2005
Loading...

Share This Page