473,473 Members | 1,959 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

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 1335
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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: Eric Wilds | last post by:
Greetings, I'm trying to use CSS to position a table in the top right corner of a webpage and not have the table disappear off the screen when the user scrolls down. Simply, my design is like...
5
by: Grayle | last post by:
I've heard that "position:fixed", which I use to scroll a navigation menu, does not work in IE. I have limited access to IE and would prefer to keep it that way. I am using <div class="nav">...
9
by: Paul Trautwein | last post by:
I'm trying to get an image to float in a window despite scrolling. I've gotten it to work on my Mac using IE 5.2, Netscape, and Safari, but it goes wonky when I test it on a PC. (testing with IE...
4
by: Peter Fjelsten | last post by:
Guys at comp.infosystems.www.authoring.stylesheets, I have designed a page in (x)HTML transitional that I am happy with in (close to) standard compliant browsers (i.e. Firebird/Opera), but IE...
5
by: Ted Mayett | last post by:
I've read a lot through the google archives, but I cannot seem to find an example... Has someone successfully made css code that allows for position: fixed to work in IE 6.0.2800? What is the...
7
by: Erik Sandblom | last post by:
Hello I'm trying to make some tooltips which are position:fixed. It works fine in Opera and Safari/Konqueror, but in Firefox and Camino (ie Mozilla), it takes a few seconds for each tooltip to...
2
by: Eric Lindsay | last post by:
Googling suggests that IE7 may support position: fixed; I think this might be handy for some pages I want to do. Does anyone have any comments about whether fixed should be considered for use on...
1
by: Roger | last post by:
While there are several web sites that make use of sidebars, there are relatively few that make use of fixed position sidebars. While fixed position sidebars offer the advantage of having the page...
5
by: pbd22 | last post by:
hi. i am messing around with CSS2.1 and position:fixed. I can't seem to get a "loading" span to move a little further left onto the page. It seems stuck on the upper right and kind of half way...
8
by: sheldonlg | last post by:
I have an app where position fixed works for FF and IE6 (with workaround). On IE7, the popup doesn't stay fixed in one place. The URL is http://www.sheldonlg.com/popup/popupLoc.html Click of...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
1
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.