css - 2 column layout with column heights that stick to the footer -


I have a basic layout with 2 columns and a footer that behaves according to the height of the column.

& lt; Div id = "holder" & gt; & Lt; Nav class = "navbar navbar-default navbar-fixed-top" & gt; & Lt; / Nav> & Lt; Div class = "container" & gt; & Lt; Div class = "row" & gt; & Lt; Div class = "left col-md-8" & gt; Increases with content & lt; / Div & gt; & Lt; Div square = "right col-md-4" & gt; Increases with content & lt; / Div & gt; & Lt; / Div & gt; & Lt; / Div & gt; & Lt; Div class = "footer" & gt; Relative behavior occurs when the content of any column is long enough, when there is not enough material, it sticks down. / Div & gt; Full code with

CSS :

What would be a great solution for creating columns with the same heights, but also the foot Article?

In this way: (I used minimum-height on left and right columns)

I found another question that to create columns at the same height One solution for now is longer, but it will not leave them on the pedestal.

  .row {overflow: hidden; } [Class * = "call-"] {margin-bottom: -99999 pixels; Padding-down: 99999 pixels; }  

are correct with you, so do you do this beautifully You can. You define the overall page for the minimum height, and then mark your column as "Flexing" to fill the available columns. However, due to the nesting of your elements it will not be very simple.


Comments

Popular posts from this blog

java - org.apache.http.ProtocolException: Target host is not specified -

java - Gradle dependencies: compile project by relative path -

ruby on rails - Object doesn't support #inspect when used with .include -