469,360 Members | 1,807 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

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

disappearing div element in IE5.5 and IE6

Hi all. I'm baffled by this one. I've got a div element on the following
index page that refuses to render correctly in either IE5.5/Win2k or
IE6/WinXP. This div occurs three times, above the three text sections in the
left content column. The div is basically a dark bar with a short bit of
white text. In IE5.5, the bars disappear when you hit the 'alt' key. They
also disappear when you page down or scroll with the scroll bar. They
reappear when you reload (f5) the page. In IE6, the bars disappear when you
scroll down the page using the scroll bar. When you page down, the first bar
stays and the other two bars disappear. What inj the world could possibly
cause this behavior???

Here is the test page and a link to a "text" version of the CSS:

http://www.galtsvalley.com/indextest.html
http://www.galtsvalley.com/css/default2.css.txt

Any ideas?

Brian
Jul 20 '05 #1
2 5732

"B McDonald" <no@spam.com> wrote in message
news:NO***************@newssvr17.news.prodigy.com. ..
Hi all. I'm baffled by this one. I've got a div element on the following
index page that refuses to render correctly in either IE5.5/Win2k or
IE6/WinXP. This div occurs three times, above the three text sections in the left content column. The div is basically a dark bar with a short bit of
white text. In IE5.5, the bars disappear when you hit the 'alt' key. They
also disappear when you page down or scroll with the scroll bar. They
reappear when you reload (f5) the page. In IE6, the bars disappear when you scroll down the page using the scroll bar. When you page down, the first bar stays and the other two bars disappear. What inj the world could possibly
cause this behavior???

Here is the test page and a link to a "text" version of the CSS:

http://www.galtsvalley.com/indextest.html
http://www.galtsvalley.com/css/default2.css.txt


Hmm. The div in question is 'content-hdr'. I added the property 'position:
relative;' to its style def. and that fixed the flakiness (in IE5.5, at
least; haven't uploaded to test on my IE6/WXP machine). Why would I have to
define this div this way? Why would pressing the alt key (as I do to switch
betw open apps in Windows) cause the div to disappear???

Brian
Jul 20 '05 #2
B McDonald wrote:

Hmm. The div in question is 'content-hdr'. I added the property 'position:
relative;' to its style def. and that fixed the flakiness (in IE5.5, at
least; haven't uploaded to test on my IE6/WXP machine). Why would I have to
define this div this way?
Looks like the IE guillotine bug and although there are some work
arounds I haven't seen a single formula - using relative is just one fix
to this problem.

Why would pressing the alt key (as I do to switch
betw open apps in Windows) cause the div to disappear???


Because the browser software is made by Microsoft ;-)

Actually the div would probably also dissappear if you resized the width
of your browser window - although again it depends.

HTH.

--Nikolaos

Jul 20 '05 #3

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

18 posts views Thread by Heath | last post: by
1 post views Thread by R0bert Neville | last post: by
4 posts views Thread by Howard Jess | last post: by
3 posts views Thread by Harry Keck | last post: by
14 posts views Thread by Paul Yanzick | last post: by
2 posts views Thread by Rachel Suddeth | last post: by
reply views Thread by zhoujie | 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.