I'm new to web designing and programming. I'm learning by creating template from scratch. I have got this far but I can't figure out how to display sidebar on side and footer on the bottom. If I do <?php get_hearder();?> and <?php get_sidebar();?> then it comes ok, but if I have short post then footer cutsoff sidebar. If I do <?php get_sidebar();?> and <?php get_footer();?> then sidebar is displayed after footer.
I have posted all my codes here. They are very basic.