Это мой код:
#footer {
font-size: 10px;
position:absolute;
bottom:0;
background:#ffffff;
}
Я не знаю, что не так с этим - может ли кто-нибудь помочь?
EDIT: для большей ясности в том, что неправильно: нижний колонтитул отображается внизу, как ожидалось, когда страница загружается. Однако, когда высота веб-страницы больше > чем размеры экрана, так что появляется полоса прокрутки, нижний колонтитул остается в том же месте. То есть, когда высота страницы равна <= 100%, нижний колонтитул находится внизу. Однако, когда высота страницы > 100%, нижний колонтитул НЕ находится внизу этой страницы, а внизу внизу видимого экрана.
EDIT: Удивительно, но ни одно из приведенных ниже решений не работало. Вместо этого я создал боковую панель.