I want each element to be at least 100px tall, but they may contain images or text which should make all of the columns adjust.
This will only work in IE7+ and standards compliant browsers, but you can assign a minimum height in your css declarations
Code:
selector.class {
height: 100%;
min-height: 100px;
}
also you are abusing the <div> element. the div tag was designed more for layout, while the p (paragraph) was designed for containing text.
<div class="activity_list_item">
<div class="activity_type">
Pic tag
</div>
<div class="activity_info">
Some random information about the picture
</div>
<div class="activity_pic">
<img src="http://www.google.com/intl/en_ALL/images/logo.gif" width="200"/>
</div>
</div>
to
Code:
<div class="activity_list_item">
<p class="activity_type">
Pic tag
</p>
<p class="activity_info">
Some random information about the picture
</p>
<p class="activity_pic">
<img src="http://www.google.com/intl/en_ALL/images/logo.gif" width="200"/>
</p>
</div>
Bookmarks