css - Divs in same line only on a wider window -
see: fiddle
when window long enough, both divs in same line, when it's smaller, second div(.footers) moves new line. wan't them in same line time.
css left div:
.footer .footer_links { float: left; width: 250px; padding: 25px 0px 0px 20px; min-height: 95px; border-right: 1px solid #d9d9d9; text-align: left; } css right div:
.footer .footers { text-align: left; float: left; padding: 0px 20px 0px 20px; } what causing problem?
if want give left div (.footer_links) fixed height, instead of floating div on right (.footers), give overflow:hidden. cause fill remaining width of page:
.footer .footers { text-align: left; overflow:hidden; padding: 0px 20px 0px 20px; }
Comments
Post a Comment