By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
438,384 Members | 1,886 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 438,384 IT Pros & Developers. It's quick & easy.

Re: More on position fixed

P: n/a
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)
Aug 10 '08 #1
Share this Question
Share on Google+
1 Reply


P: n/a
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_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

Aug 10 '08 #2

This discussion thread is closed

Replies have been disabled for this discussion.