I used to add <br clear=all>
at the end of a div, without a height value in CSS, to set it's height.
The divs shrink and grow depending on the content.
Is there a more eloquent way of setting the div heights of all boxes to the height of the tallest box, without using <br clear=all>
? Baring in mind the divs change height depending on what is inside them.
Here's an example of the code:
<div class="welcomeText">
<div class="houseTiles2">
<h1>TITLE<br><br></h1>
<p><br>Body copy 1</p><br clear="all">
</div>
<div class="houseTiles">
<h1 class="tileTitle">Title 2</h1><br>
<p class="tileDesc">Text text text text text text text text</p>
<br clear="all">
</div>
<div class="houseTiles">
<h1 class="tileTitle">Title 3</h1><br>
<p class="tileDesc">Text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text</p><br clear="all">
</div><br clear="all">
</div>