Can't you just set both the width and height to 100% and let the container be the document?
-- Tuomas > Also if you wanna keep it sizing right when resized you should > add i both in DynAPI.onLoad AND on DynAPI.onResize. I'm using > that now to have designs adapt to window resizing, however I > haven't been able to test it for cross-browser compliance yet. I > remember it being an issue stopping me before with an older > DynAPI2 release. > > Henrik Våglin [ [EMAIL PROTECTED] ]. > > > ----- Original Message ----- > From: "Yariv Alter Fin" <[EMAIL PROTECTED]> > To: <[EMAIL PROTECTED]> > Sent: Wednesday, November 28, 2001 2:05 AM > Subject: Re: [Dynapi-Help] Make layer 100% width > > > > i guess this would do the job: > > > > myLayer.setSize(DynAPI.document.getWidth(), > DynAPI.document.geHeight()) > > > > > > >Is there a way to make a layer 100% width so it snap to browser window > > >width? > > > > > >Cheers, > > > > > >JN. > > > > > > > > >_______________________________________________ > > >Dynapi-Help mailing list > > >[EMAIL PROTECTED] > > >https://lists.sourceforge.net/lists/listinfo/dynapi-help > > > > > > > > _______________________________________________ > > Dynapi-Help mailing list > > [EMAIL PROTECTED] > > https://lists.sourceforge.net/lists/listinfo/dynapi-help > > > _________________________________________________________ > Do You Yahoo!? > Get your free @yahoo.com address at http://mail.yahoo.com > > > _______________________________________________ > Dynapi-Help mailing list > [EMAIL PROTECTED] > https://lists.sourceforge.net/lists/listinfo/dynapi-help _______________________________________________ Dynapi-Help mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/dynapi-help