| 5:52 pm on Jan 22, 2004 (gmt 0)|
I've noticed this phenomenon myself and never found a fix, except for ensuring that all pages have scrollbars.
I also don't think it's a big issue, so I didn't try very hard to find an answer. In my case at least, it's more likely something only noticed by me during testing -- as I rapidly move through the pages in a fashion that the general visitor is unlikely to use.
| 6:12 pm on Jan 22, 2004 (gmt 0)|
If I've understood your question correctly, then the answer as to why this happens is because IE always shows a scrollbar regardless of whether it's needed or not, whereas most other browsers will not. There's not a lot you can do about this.
| 8:03 pm on Jan 22, 2004 (gmt 0)|
I first complained about this in Usenet over 2 years ago; and think it is very poor design on the part of Opera / Netscape / Mozilla; etc.
What is means is that canvas width effectively becomes a function of page height; and the effect is just plain ugly as everything shifts left and right.
There is no practical solution to it.
| 8:25 pm on Jan 22, 2004 (gmt 0)|
For what it's worth, I feel it's very poor design to create a site that doesn't make good use of available page space, but there you go.
I think IE's behaviour is a hold-over from the days when browsers weren't capable of reflowing content as the window size changed. Now that they can, it makes sense to make the best use of page space, and avoid displaying an unsightly scroll-bar when it isn't necessary.
I wouldn't worry about it, in any case. No-one's likely to notice.
| 9:19 pm on Jan 22, 2004 (gmt 0)|
|There is no practical solution to it. |
Actually, there is a solution which forces a scrollbar, but it is a real hack. In your CSS file, add this:
and somewhere in your HTML, add:
That puts an absolutely-positioned div which is 0.1 pixels longer than the page, meaning that there will always be a scrollbar showing. Not ideal I know, but I've found nothing better.
Hope this helps!
| 2:17 am on Jan 23, 2004 (gmt 0)|
It really doesn't bother me. In fact if anything IE's handling annoys me. :)
Now, if consistancy is what you're after, you could do something like this:
height : 100%;
overflow : scroll;
Since overflow-y isn't part of the current official spec (I think it's in CSS3), you'll be stuck with both a vertical and horizontal scroll bar. But at least it'll be consistant.