|
|
|
| Здравствуйте.
Как прибить подвал к нижней части экрана? Подскажите решение, которым вы пользуетесь. Я знаю, Google выдаст много вариантов. | |
|
|
|
|
|
|
|
для: antf
(05.06.2014 в 18:08)
| |
.push {
height:100px;
}
.parent {
min-height: 100%;
height: auto !important;
height: 100%;
margin-bottom:-100px;
}
.footer {
height:100px;
background:#444;
}
<div class="parent">
<div class="push"></div>
</div>
<div class="footer">
</div>
|
| |
|
|
|
|
|
|
|
для: antf
(05.06.2014 в 18:08)
| |
html, body {
height: 100%;
margin: 0;
padding: 0;
}
footer, .push {
height: 140px;
}
.wrapper {
min-height: 100%;
margin: 0 auto -145px;
}
|
<!DOCTYPE html>
<html>
<head></head>
<body>
<div class="wrapper">
<section class="main">
<!--Бла бла бла-->
</section>
<div class="push"></div>
</div>
<footer>
</footer>
</body>
</html>
|
| |
|
|
|
|
|
|
|
для: KPETuH
(06.06.2014 в 10:27)
| | Подошло! Спасибо всем! | |
|
|
|