How to arrange footer in the page bottom

Home » Tutorials » HTML and CSS » How to arrange footer in the page bottom
In one of the last lessons I told you about situation when footer was after little content block. It looked ugly.
I think, it is not necessary to make screencast on this topic. For this problem decision you need to write some lines of css code.
Code lesson (CSS)
html, body {
	height: 100%;
}

#content {
	min-height: 100%;
}
Of course it is not the only one way. You can for example to assign position to footer. But I think, example above is more universal compared with position.

0 Comments

Submit a Comment

Your email address will not be published. Required fields are marked *

Подписаться на рассылку

Будьте в курсе - получайте последние статьи на свой email

Ваша подписка успешно оформлена

Pin It on Pinterest

Share This