New Application - Use Ful Veritcal Space

Hi everyone,

I’m very new to Yii and have started with the default application. The first thing I’ve tried to do is get the layout to use the full available vertical space with the footer sitting at the bottom of the screen.

I can change the width to use full screen but nothing enables the footer to sit on the bottom (I’ve tried various sticky footers eg www dot cssstickyfooter dot com/ with no success, modifing /layouts/main.php and /css/main.css)

Starting from a brand new default application, how do I get the footer to sit at the bottom of the screen and content to expand to fill all available space?

Your help is greatly appreciated,



add this line into your footer css -