theniteowl
Programmer
I have a scrollable div tag with a large amount of information in it. On displaying the page with this scrollable div I would like the information in the middle of the div to be centered in the window.
Any easy way to do this?
Why? This is a calendar loaded from a database and I want to be able to display a month prior and a month future but have the current week be the one centered on the screen when it is first displayed.
Is there an easy way to do this? Can the properties for the scrollbars be determined and set to automatically control the position? I have never worked with these before. I have been searching but have not found anything yet and any advice would be appreciated.
BTW, I only have to code for IE 5.5 and up, no other browsers.
Thanks.
Any easy way to do this?
Why? This is a calendar loaded from a database and I want to be able to display a month prior and a month future but have the current week be the one centered on the screen when it is first displayed.
Is there an easy way to do this? Can the properties for the scrollbars be determined and set to automatically control the position? I have never worked with these before. I have been searching but have not found anything yet and any advice would be appreciated.
BTW, I only have to code for IE 5.5 and up, no other browsers.
Thanks.