No replies
worm
Offline
newbie
Last seen: 18 years 10 weeks ago
Timezone: GMT+1
Joined: 2004-11-29
Posts: 1
Points: 0

Hi,

For some time now I've been trying to find a way of vertically aligning a site without using tables. I've been using the left and top to 50% / minus margin half the width and height of the site to achieve this. The only problem is that when a visitor uses a small resolution the site will disappear under your browser window.

So I've tried to come up with a new way of centering a site, and I think I've come up with a rather nice way of achieving this. I'm wondering what you think of my solution and if it can be simplified even more..