Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion GroupsGeneralPHPASPPerlColdFusionFlashHTML, CSS, ScriptsBrowsers

Webmaster Forum / HTML, CSS, Scripts / CSS / September 2003



Tip: Looking for answers? Try searching our database.

disappearing div element in IE5.5 and IE6

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
B McDonald - 29 Sep 2003 04:38 GMT
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
B McDonald - 29 Sep 2003 15:37 GMT
> 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
[quoted text clipped - 11 lines]
> 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
Nikolaos Giannopoulos - 29 Sep 2003 17:33 GMT
> 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
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2009 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.