473,396 Members | 1,914 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

IE 5.5 content in DIVs dissapears with CSS until refresh...

OK, I've been trying to put together a standards compliant site, and
have it validating as XHTML Strict, valid CSS and going for AAA
accessibility.

Unfortuantely in IE 5.5, when you click the links on the left hand
menu to take you to a new page, on the page that is displayed you
'lose' the menu completely (it disappears). If you click refresh,
then the menu comes back!

These are static HTML pages, so it's not a cookie or dynamic page
thing.

Anyone any idea what is going on (bug?), and if there is a way to
prevent this happening and keep the menus there without having to
refresh the page?

The site is http://www.2know.co.uk/

Colin.

--
[Please post replies to newsgroup]
Jul 21 '05 #1
5 2816
This sounds like the "peekaboo" bug. Google for it. There are fairly
painless work-arounds.

--Phil.

Jul 21 '05 #2
phil_g...@treefic.com wrote:
This sounds like the "peekaboo" bug. Google for it. There are fairly painless work-arounds.


Thanks - I will have a look at this, although the peekaboo bug seems to
be coming up saying it is an IE6 thing, whereas the site works OK in
IE6, but not in IE5.5

It does sound very similar though, so I will have a look and see if any
of the solutions work for IE 5.5. Thanks for the suggestion.

Cheers,
Colin.

Jul 21 '05 #3
ph*******@treefic.com wrote:
This sounds like the "peekaboo" bug. Google for it. There are fairly painless work-arounds.


Unfortunately this hasn't worked. IE 5.5 still does not display the
menu after the first click.

I took out all the floats completely to see if that would make a
difference (there are only two floats). It didn't make any difference
I'm afraid.

Anyone else any suggestions?

Cheers,
Colin.

--
Please reply to the newsgroup.

Jul 21 '05 #4
Colin Jones wrote:

Unfortuantely in IE 5.5, when you click the links on the left hand
menu to take you to a new page, on the page that is displayed you
'lose' the menu completely (it disappears). If you click refresh,
then the menu comes back!

The site is http://www.2know.co.uk/


Suggestion: Get rid of most or all the absolute positioning. You don't
need it on every element, not the header and main content areas for
sure. The header should be relatively positioned, the content static.

It's possible the @media rules are interfering with IE5, print in
particular. Don't stick @media in the middle of the stylesheet, put them
at the end. FWIW, I usually put @media-specific rules in a separate
stylesheet and @import it. I've never had browser trouble by doing this,
but sometimes I do need to set more specificity on the @media rules.

HTH

--
Reply email address is a bottomless spam bucket.
Please reply to the group so everyone can share.
Jul 21 '05 #5
kchayka wrote:
Colin Jones wrote:

Unfortuantely in IE 5.5, when you click the links on the left hand
menu to take you to a new page, on the page that is displayed you
'lose' the menu completely (it disappears). If you click refresh,
then the menu comes back!

The site is http://www.2know.co.uk/
<snip>
It's possible the @media rules are interfering with IE5, print in
particular. Don't stick @media in the middle of the stylesheet, put

them at the end. FWIW, I usually put @media-specific rules in a separate
stylesheet and @import it. I've never had browser trouble by doing this, but sometimes I do need to set more specificity on the @media rules.


You were spot on with the "@media print" rule being the problem - I
tried various @import variations, but that started to introduce other
problems. I finally managed to get it to work by adding a second link
statement for the printer rules instead:

<link rel="stylesheet" title="Printer Style" type="text/css"
href="printer.css" media="print" />

This seems to have fixed it! Thank you so much for the advice, it was
very helpful in finally tracking down the problem.

Cheers,
Colin.

Jul 21 '05 #6

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

Similar topics

8
by: gpbmike | last post by:
I'm wondering if anyone else has had this problem before. Every now and then a div on my page will overlap with another. Thi only happens in firefox (vs. IE and Safari) and it corrects itself whe...
10
by: clintonG | last post by:
Can somebody direct me to documents or source that supports the use of collapsible content that is collapsed by default when the page is loaded? The secondary objective would of course be...
64
by: Manfred Kooistra | last post by:
I am building a website with identical content in four different languages. On a first visit, the search engine determines the language of the content by the IP address of the visitor. What the...
1
by: aolba | last post by:
I manage to use an example of AJAX to insert dynamic content inside DIVs. Everything goes OK, until I noted the dynamic content didn't dysplay the flash animation. I didn' get errors or anything....
6
by: =?Utf-8?B?Tkg=?= | last post by:
Hi, What do you recommend for defining the layout of an asp.net 2.0 page? Leaving masterpages and user controls aside for the moment is the use of tables or Divs the best approach? I have...
11
by: Christoph | last post by:
This CSS declaration doesn't do anything on my page, for some reason. I've made heavy use of this technique in other places, and it works. It's not a problem with the alt value, either. This shows...
9
by: pbd22 | last post by:
Hi. This is just a disaster management question. I am using XMLHTTP for the dynamic loading of content in a very crucial area of my web site. Same as an IFrame, but using XMLHTTP and a DIV. I...
5
by: Phantom | last post by:
I am re-designing a website which currently makes use of Frames. (I want to replace them with something more convenient.) It has a layout page, a menus frame and content frame for various content...
0
by: Berlin Brown | last post by:
I have two DIVs on the same line, a left navigation frame and the right content. I want both of those items on the same line. Lets say the left nav content is 140pixels and the right content is...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
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,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
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,...

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.