Товарищи! Помогите прижать футер!
Всем привет!!
Помогите пожалуйста прижать футер на этой странице http://advokatds.com/ru/consultation/ чет у самого не получается:( За ранее спасибо!! |
Если вверх то через css , команда matgin-top:-ваше значение
Только ставьте "-" и залеззет как родной куда нужно) Можно применить к footer через ай ди, то есть footer прописываете id="footer" и в стиле так #footer { margin-top:-10px} |
Цитата:
<!DOCTYPE html> <html> <head> <style type="text/css"> * { margin: 0; padding: 0; } html, body { width: 100%; height: 100%; } #container { position: relative; min-height: 100%; } #footer_tab { height: 100px; claer: both; } </style> <script type="text/javascript"> </script> </head> <body> <div id='container'> <div style="width: 100%; height: 300px; background-color: #3300FF;"></div> <div id='footer_tab'></div> <div style="width: 100%; height: 100px; background-color: #CC9933; position: absolute; Left: 0px; Bottom: 0px;"></div> </div> </body> </html> |
Цитата:
|
Вот мой вариант.
|
Часовой пояс GMT +3, время: 07:02. |