Big problem with scrolling in IE 6

I’ve just realised that a site that I made in Freeway 4 and then imported in Freeway 5 no longer works correctly in IE 6 on Windows. It’s a site where the length of each page is decided by the content: I removed the “height” attribute from the div so that it adapts in size to whatever it contains.

When the site was in Freeway 4, it worked fine on every browser I could find, both on Mac OS and Windows. The Freeway 5 version still works fine on all my Mac browsers, but in IE6 on Windows, it is no longer possible to scroll to the end of most pages: there simply isn’t a scroll bar.

Does anybody know what could be causing this, and how I could cure it?


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

Update: I’ve found out what it happening. The problem is that Freeway now adds “position:relative” to the PageDiv. IE has problems coping with this, which are explained at Hide Scrollbar CSS: Guide To Hide Scrollbar From HTML Element

Now I have to work out how I can either get rid of the the “position:relative” style for the PageDiv, or apply the hack described on the page I’ve linked to.

Any ideas?


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

I’ll continue talking to myself: I’ve solved the problem by integrating the hack into the stylesheet, creating a style with the tag #PageDiv and attribute “Height:1%”

I hope this doesn’t mess up anything else!


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

Hi Michael

Don’t feel that you have been ignored - there certainly has been discussion here about this problem with IE6 and solutions offered previously.

The biggest issue being that IE6 doesn’t play the same game as every other browser - one of the reasons that MS are pushing 7.

David


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

Have a look here

http://freewaytalk.net/thread/view/31883#m_31886

D


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

The fix should be in the latest version of Freeway.

http://www.softpress.com/support/updates.php

Joe

On 17 May 2008, at 01:28, DeltaDave wrote:

Have a look here

http://freewaytalk.net/thread/view/31883#m_31886

D


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

I still had to go in a re-add my #PageDiv height to 100% even in 5.1.1. In fact I created a style on the side called #PageDiv and set the height to 100%. I noticed the output code says min-height: 100% is that “understandable” across older browsers as meaning height: 100%?

When i loaded up my site in IE6 it wouldn’t scroll till I added that into my style-sheet.


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

Joe, thanks for this information. I’m perplexed: could you tell me how the fix works? I downloaded 5.1.1 and re-published the site, but I haven’t uploaded it yet, since I can’t see any essential difference between the code published from 5.1.1 and the code published from 5.1. In both cases, I see the line:

There is also nothing I can see in the ie6.css file that would influence this.

What am I missing here?

On 17 May. 2008, 8:43 am, Joe Billings wrote:

The fix should be in the latest version of Freeway.

http://www.softpress.com/support/updates.php

Joe


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

Old and broken IE browsers all skip min-height entirely, and treat
height as if it was min-height. To have belt-and-braces support for
those browsers, it is necessary to do

height: auto !important;
height: 100%;
min-height: 100% !important;

in that order.

Those browsers don’t understand !important either, so you get the
fixed behavior.

Walter

On May 17, 2008, at 5:16 AM, Mitchell wrote:

I still had to go in a re-add my #PageDiv height to 100% even in
5.1.1. In fact I created a style on the side called #PageDiv and
set the height to 100%. I noticed the output code says min-height:
100% is that “understandable” across older browsers as meaning
height: 100%?

When i loaded up my site in IE6 it wouldn’t scroll till I added
that into my style-sheet.


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

The new changes (in 5.1 and up) are min-height:100% inline in the
PageDiv and
div#PageDiv {height:100%}
in the ie6.css file.

If this doesn’t fix your problem in ie6 then could you sned your file
through please.

Thanks

Joe

On 17 May 2008, at 15:23, Michael wrote:

Joe, thanks for this information. I’m perplexed: could you tell me
how the fix works? I downloaded 5.1.1 and re-published the site, but
I haven’t uploaded it yet, since I can’t see any essential
difference between the code published from 5.1.1 and the code
published from 5.1. In both cases, I see the line:

There is also nothing I can see in the ie6.css file that would
influence this.

What am I missing here?

On 17 May. 2008, 8:43 am, Joe Billings wrote:

The fix should be in the latest version of Freeway.

http://www.softpress.com/support/updates.php

Joe


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

Is there a program or something that can show me if IE6 is using the ie6.css stylesheet. Because I’d also like to know if it’s using the pngbehavior.htc file because my transparent-PNG’s aren’t transparent in IE6, but they do work in IE7.


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

Hi Joe,

I’ve found out what happened: Freeway 5.1 and 5.1.1 did not automatically change the ie6.css file from the previous version. Here’s the contents of the ie6 file, as originally published from Freeway 5.1.1:

.f-x1 { height:100% }
.f-x2 { height:1px }
.f-x3 { display:inline }
img { behavior: url(“pngbehavior.htc”); }

Apparently Freeway 5.1 did not check the contents of this file to see if they needed updating. I trashed the file and made Freeway 5.1.1 publish the site again: now the file looks like this:

.f-x1 { height:100% }
.f-x2 { height:1px }
.f-x3 { display:inline }
img { behavior: url(“pngbehavior.htc”); }
div#PageDiv { height:100% }

You evidently need to force Freeway to update the contents of the ie6 file, but until then the fix is to manually trash it.

Best wishes,

Michael

On 17 May. 2008, 8:20 pm, Joe Billings wrote:

The new changes (in 5.1 and up) are min-height:100% inline in the
PageDiv and
div#PageDiv {height:100%}
in the ie6.css file.

If this doesn’t fix your problem in ie6 then could you sned your file
through please.

Thanks

Joe


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options