Help | Site Map
Connecting Tech Pros Worldwide
 
 
LinkBack Thread Tools
  #1  
Old July 20th, 2005, 09:24 PM
B McDonald
Guest
 
Posts: n/a
Default 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


  #2  
Old July 20th, 2005, 09:25 PM
B McDonald
Guest
 
Posts: n/a
Default Re: disappearing div element in IE5.5 and IE6


"B McDonald" <no@spam.com> wrote in message
news:NONdb.881$uL5.140@newssvr17.news.prodigy.com. ..[color=blue]
> 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[/color]
the[color=blue]
> 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[/color]
you[color=blue]
> scroll down the page using the scroll bar. When you page down, the first[/color]
bar[color=blue]
> 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
>[/color]

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


  #3  
Old July 20th, 2005, 09:25 PM
Nikolaos Giannopoulos
Guest
 
Posts: n/a
Default Re: disappearing div element in IE5.5 and IE6

B McDonald wrote:[color=blue]
>
> 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?[/color]

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.

[color=blue]
> Why would pressing the alt key (as I do to switch
> betw open apps in Windows) cause the div to disappear???[/color]

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

 

Bookmarks

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

What is Bytes?

We are a network of experts and professionals in IT and software development that help one another with answers to tough questions and share insights. Get the best answers to your questions from over network members.
Post your question now . . .
It's fast and it's free

Popular Articles