Помощник
|
Футер |
Stivi
|
Сообщение
#1
|
||
|
|
||
|
|||
Degradator |
19.10.2013, 14:12;
Ответить: Degradator
Сообщение
#2
|
|
body{
position: relative; } #footer { position: absolute; bottom: 0px; } |
|
|
Stivi
|
Сообщение
#3
|
|
|
|
|
Degradator |
20.10.2013, 10:12;
Ответить: Degradator
Сообщение
#4
|
|
|
|
|
Amy Mammoth |
26.10.2013, 18:20;
Ответить: Amy Mammoth
Сообщение
#5
|
|
|
<div class="wrapper"> <header class="header"> Site Name </header> <div class="content"> Site Content </div> </div> <footer class="footer"> © Site Name </footer> [CSS] * {margin:0; padding: 0;} html{ height: 100%; } body{ height: 100%; } .wrapper{ min-height: 100%; } .content{ padding-bottom:60px; } .footer { position: relative; height:50px; margin-top:-50px; background: dodgerblue; } [/CSS] демо
|
|
|
||
|
Похожие темы
Тема | Ответов | Автор | Просмотров | Последний ответ | |
---|---|---|---|---|---|
Футер съехал вправо | 1 | Nasty_Sav | 6318 | 24.2.2015, 19:16 автор: -Degradator- |
Текстовая версия | Сейчас: 26.4.2024, 10:31 |