469,271 Members | 1,052 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,271 developers. It's quick & easy.

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_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
1 1223
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.

Similar topics

1 post views Thread by Eric Wilds | last post: by
5 posts views Thread by Grayle | last post: by
9 posts views Thread by Paul Trautwein | last post: by
4 posts views Thread by Peter Fjelsten | last post: by
5 posts views Thread by Ted Mayett | last post: by
7 posts views Thread by Erik Sandblom | last post: by
2 posts views Thread by Eric Lindsay | last post: by
1 post views Thread by Roger | last post: by
5 posts views Thread by pbd22 | last post: by
8 posts views Thread by sheldonlg | last post: by
reply views Thread by suresh191 | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.