PDA

View Full Version : No scrolling on browser


ScottInTexas
09-20-2003, 01:09 PM
I want the browser to fill the screen with the content and have no scrolling. I have an Iframe in the window which has the scroll bars and I am trying to avoid having two vertical scroll bars.

Either one or the other. If I put scrolling="no" in the IFrame the contents gets cut off.

SDP2006
09-20-2003, 01:13 PM
Try

<iframe name="Content" scrolling="no" border="0" frameborder="0" src="pagesrchere.html">


Hope this helps.....

ScottInTexas
09-20-2003, 01:30 PM
Thanks for the quick reply. That is what I have now and it just cuts off the content when it fills the iframe.

What I need to do is make the iframe as tall as the browser needs to be in order to include the entire contents of the iframe document.

SDP2006
09-20-2003, 01:56 PM
You'll need to play around with the height and width attributes in the <iframe> tag until you get it just right....

ScottInTexas
09-20-2003, 05:09 PM
That's what I was afraid of. Unfortunately the pages that apear in the frame are different. I'll have to save the values in the DB and set the page as I go.

Thanks again.

shlagish
09-20-2003, 07:39 PM
If you want the crolling to happen in the frame instead of in the window, set scrolling="no" on the window, and set width="100%" on the <iframe>, I don't think the window will have scrollbars... That's waht I use anyways

shlagish
09-20-2003, 07:41 PM
oh, and you have to close your iframe tag

<iframe attributes="whatever"></iframe>