Hello All, This is my first post here. I am relatively new at Java but look forward to contributing wherever I can. The problem I am having is with IE7. I am able to hide scroll bars with this code no problem as long as I do not use frames: function hideScrollBar(){ document.body.style.overflow='hidden' } function showScrollBar(){ document.body.style.overflow='';0 } As soon as I use frames though I get spacing for the vert. scrollbar in IE7 (not netscape or mozilla). Any thoughts on how to get rid of that vertical scrollbar space? Thanks, John Glynn
Hi, First of all, don't abbreviate Javascript to Java! Sounds harsh, but they are two totally separate languages - muddling the names will only cause confusion. As for your problem, the solution is simple. Don't use a frame-based layout. Frames are outdated and clumsy; Google for "frames bad" or something and you will find out why. I cannot think of any valid reason to use them. By the way, you don't need Javascript to do what you are doing, you should just make it a rule in your stylesheet. Regards - P