Msg#: 4634489 posted 5:20 am on Jan 2, 2014 (gmt 0)
I am building a website with a fixed header and footer, the main content section is scrollable. but what I want to happen is when the site loads I want to make the scrollable content div's top to start at 300px from bottom of the browser window. I need some way of calculating the browser height and adjusting the initial position of this content div 300px less and place it there on load. anyone know how to do this?
Msg#: 4634489 posted 10:46 pm on Jan 2, 2014 (gmt 0)
when the site loads <snip> place it there on load
You said "on load" twice so I assume it's important. You're saying that you want the material's initial position to be such-and-such, but it might move later, right? If so, I'm not sure how it would be done without scripting.
Msg#: 4634489 posted 1:46 am on Jan 3, 2014 (gmt 0)
I want the page content to start down near the bottom as I want to display the background picture and when people see the content below they can scroll it up into view. I would post a link to an example but im not allowed to post websites here.