473,586 Members | 2,681 Online
Bytes | Software Development & Data Engineering Community
+ 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_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)
Aug 10 '08 #1
1 1344
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

Aug 10 '08 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
11649
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 this: <table width=100%> <tr> <td=30%> </td>
5
4028
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"> <!--><div class="crapnav"> <!--> in my HTML to point to different classes in my CSS, the only difference between which is that one uses...
9
17703
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 only at the moment.) Positioning is wrong, and it doesn't float at all. Here's a test page: http://www.bdiusa.com/mirrors/test.html I've tested...
4
5872
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 is causing problems as can be expected since I have used position:fixed. I don't want to use too many hacks and I don't care that the page looks a...
5
3448
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 url please? My partner is looking to make the top-right graphic stay in view as the reader scrolls down the page:...
7
2928
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 display, and then to get hidden. If I use position:absolute, the problem goes away, but the tooltips move around with the containing, scrolling div....
2
9757
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 new web pages? -- http://www.ericlindsay.com
1
2007
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 controls and hyperlinks always visible when the user scrolls down a page, they have one great disadvantage: a portion of the fixed position sidebar...
5
3273
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 off the page. Can somebody advise me as to how to apply the appropriate padding (when i change the "em" values it seems to have no effect). Thank...
8
2464
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 "Show" and then scroll up and down to see what I mean. It is supposed to stay in the same place in the window. We got the coding from somewhere...
0
7839
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language...
0
8202
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. ...
0
8216
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the...
0
6614
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then...
0
5390
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 then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert...
0
3837
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 last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in...
0
3865
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2345
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
1
1449
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.