Hello.
I'm building a site and there are 5 sections each on top of each other and i need each one to fit the browser window exactly. Now since everyone has different sized monitors i need to figure out how to dynamically add the height to the CSS. I know how to get the document height in javascript is there a way to translate that variable into the CSS to use the correct height or does i need to be done through use of PHP to dynamically send the variable across?
any help is appreciated
I'm building a site and there are 5 sections each on top of each other and i need each one to fit the browser window exactly. Now since everyone has different sized monitors i need to figure out how to dynamically add the height to the CSS. I know how to get the document height in javascript is there a way to translate that variable into the CSS to use the correct height or does i need to be done through use of PHP to dynamically send the variable across?
any help is appreciated