Possible Duplicate:
How can I vertically center text in a dynamically high div?
How to vertically center div with dynamic height and 100% width in browser window?
<div class="login-signup-page">
<div class="login-signup"></div>
</div>
where login-signup has 100% width and dynamic height
Kolink is indeed correct, but it doesn’t take much work. All it takes is some clever CSS and JavaScript (I used jQuery in my example below) to make it work.
Demo