Scrollbar missing in IE8

I received an email from my client that she has no scrollbars when she looks at her site: http://jeweledtreasuresonline.com/index.php
I’ve narrowed it down to a problem with IE8 - seems to happen in both Windows XP & Vista. Anyone have a clue as to what the problem might be and how to fix it?

Looks like this CSS, telling the browser to hide any overflow in the body, isn’t working as you intended:

<!--
   Modification Log:
   Date			Who			Purpose
   09/01/2006	bwh			Created Template for Jeweled Treasures
 
--> 
<!--[if IE]>
<style type="text/css">
body
{
  overflow-y: hidden;
}
div#wrapper
{
  height: 100&#37;;
  overflow: auto;
}
</style>
<![endif]--> 

That was code put in place to fix some IE error of the past that IE8 must have fixed. Gotta love IE, huh?

I took it out but don’t have a computer running IE8 (I don’t do windows). Still haven’t heard back from client if their problem is resolved.

You want to break their site in IE6 and IE7 to fix IE8? You can make the conditional only apply to IE6 and IE7 :slight_smile:

You have a good point. I’ve put the code back in conditionally. Although I can’t really recall what it is supposed to solve.

I would exclude ie7 from that rule also as it is giving you double scrollbars in IE7.

It looks like some old fixed positioning routine but doesn’t seem to be implemented. The body has the scrollbar removed but is applied to a page wrapper instead. This would allow an element outside of the wrapper to become fixed in ie6 assuming it is absolutely placed in respect to the body.

There are remnants of a fixed positioning routine here:


body > #navigation {
    position: fixed;
}

However the rule is not applied because navigation isn’t a direct child of the body.

I’m guessing that you changed this some time ago which means that the IE code could be removed also.

I took it out but don’t have a computer running IE8 (I don’t do windows). Still haven’t heard back from client if their problem is resolved.

Kinda off topic, but how do you make websites for IE-using clients without IE to test on? Or even Windows (seeings how Firefox will look quite different between windowing systems, the way it takes font-sizes from it)?

Use a cast off old PC. Or buy an old second hand one.
There are three other PC in my room apart from this one, all with different versions of several browsers on them (and all with different OSs too).

Of course, that didn’t stop me forgetting to check a page in IE that was broken a few days ago. I just couldn’t understand what the client was on about until he sent me a screen shot.

Normally, as this is a Vista PC, I use IETester, and the only time I don’t remember is when it all went wrong.

Actually, I was wondering what the OP was doing. I use Virtual Box (2 of them) on my Ubuntu for IE (and JAWS and browser) testing.