Getting rid of unwanted double scrollbars

Here's a neat tip for CSS that helps get rid of double-scrollbars in IE and works for Firefox, as well:

html {height: 100%;}
body {min-height: 101%;}


Maybe someone will find this useful.

2 comments:

Derek said...

Actually this helped a lot.

I didn't end up using what you have there but I did find out that what I had had in there (due to some kind of thing Expression Web 2 was doing probably because I at one point had an iframe in my page but no more) was:

html, body
{
height: 100%;
overflow: scroll;
}

That gave me double scroll bars. Changing that 'scroll' to 'auto' fixed it perfectly.

Your post pointed me in the right direction though, thanks a lot!

Gu├» ® said...

Thanks Austin...it´s work for me.