There have been many questions about creating flexible pages in these forums. I just found a good article about this topic at: http://www.jshook.com/flexible_pages/. It helped me a lot and I hope that somebody else will find it helpful as well.