I have a web page where I have a header and a footer that are to stay on the top and bottom of the page at all times.
I want only the middle section of the page to scroll verticlly. The middle section of the page is a form and the footer contains the submit and reset buttons. I am not using frames on this page because i don't know how to submit a form from a different frame also i don't really like frames. I am using the overflow attribute on a div tag to make the middle section scroll right now. But i need a way to set its size depending on the users screen size. I know in javascript that screen.height will get me the screen size but i can't figure out how to get it into this line of code.
Can anyone help this struggling programming?
I want only the middle section of the page to scroll verticlly. The middle section of the page is a form and the footer contains the submit and reset buttons. I am not using frames on this page because i don't know how to submit a form from a different frame also i don't really like frames. I am using the overflow attribute on a div tag to make the middle section scroll right now. But i need a way to set its size depending on the users screen size. I know in javascript that screen.height will get me the screen size but i can't figure out how to get it into this line of code.
Can anyone help this struggling programming?