Здравствуйте. Облазил весь интернет, ничего не помогло. Решил я футер растянуть, ну чтобы он был на всю ширину экрана. Вот кусок кода из style.css
Один раз вроде бы получилось, но футер съехал и болтался отдельно.
Код |
---|
#footer{width:940px;height:240px;overflow:hidden;background-repeat:repeat-x;margin:10px 0 0 0;line-height:18px;display:block;position:relative;top:1px;} #footer .color{display:block;width:940px;min-height:240px;position:absolute;top:0;left:0;} #footer .fx{background-image:none;background-repeat:repeat-x;width:940px;min-height:230px;position:absolute;top:0;left:1px;} #footer_widgets{display:block;width:910px;min-height:230px;padding:0;margin-left:15px;position:absolute;padding:0;top:0;left:0;} .footer_widget{min-height:180px;background-image:url('images/footer_vr.png');background-repeat:no-repeat;background-position:10px left;margin:20px 10px 0 0;padding:0 20px 0 20px;display:block;float:left;} .footer_widget:first-child{background-image:none !important;} .footer_widget h2{text-transform:uppercase;margin-bottom:5px;font-size:20px;border-bottom:1px Solid;padding-bottom:5px;} #footer a{text-decoration:none;font-size:11px;} #footer a:hover{text-decoration:underline;} .footer_widget ul li{margin-bottom:4px;} .footer_widget p{padding:7px;} |
Один раз вроде бы получилось, но футер съехал и болтался отдельно.