I have been told to use JS to resolve my issue:
My issue is that I have 2 divs content and sidebar with the height set to 100%, I have a footer located underneath.
My issue is that on my laptop I would like the page to show without a scroll and on a full page3, if there is more data the page will then require a scroll.
How could I set the div height determined to my screen resolution?
You can do this in pure HTML/CSS - no JavaScript required.
What you're after is a cross-browser sticky footer.
The following is derived from http://www.cssstickyfooter.com/:
You can see a working example here: http://jsfiddle.net/dZDUR/
Resize the right-hand "Result" pane to be shorter/taller than the text to see the scroll bar appear / disappear.
As per the CSS Sticky Footer how-to, you can insert your normal 'column' layout inside the
main
div.