Bruce Tennant wrote: >Where does the style tag go? In the body tag? If so, >that didn't seem to work. > >Unfortanetly, I still need IE to have some scroll >abilities, just not a few pixels worth of empty space. > So the scroll=no option doesn't really work. (Though >it did work as you stated, thanks). > Here's a function I added to my own version a while ago to allow for dynamic removal of scrollbars. It is great for pages where you may have hidden elements down the bottom of the page.
DynDocument.prototype.setScrollBars=function(visible) { if (this.scrollbars==visible) return; this.scrollbars=visible; if (is.ns6) this.doc.body.style.overflow="hidden"; else if (is.ie) document.body.scroll=visible?"yes":"no"; else if (is.ns4) { if (visible) { this.doc.width=this.origWidth; this.doc.height=this.origHeight; } else { this.doc.width=this.elm.innerWidth-2; this.doc.height=this.elm.innerHeight-2; }; }; return; }; I'll play around with the code you suggested and see what effect it has. It may be the perfect solution for most of the overflow related problems. -- Michael Pemberton [EMAIL PROTECTED] ICQ: 12107010 _______________________________________________ Dynapi-Help mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/dynapi-help