I am having trouble making my columns the same height. I would simply like to make the columns the same height. Here is my code:
HTML:
<main> <div id="left-column"> <div id="facets"></div> </div> <div id="right-column"> <div id="stats"></div> <div id="hits"></div> <div id="pagination"></div> </div> </main> CSS:
#left-column { float: left; width: 25%; background-color: #fff; border-right: 1px solid #cdcdcd; } #right-column { width: 75%; margin-left: 25%; } The issue I'm having is that because the id's of each of the divs dynamically generate content, the heights of each columns will be based on what are inside those divs. Is there any way to set the column to the height of whatever is longer than the other column? Or is there a way to set the column height to something fixed? I have tried to add height: 1000px for each of the ids but that doesn't even seem to apply to the CSS. Any help would be appreciated.