View Single Post
Old 03-20-2007, 04:51 PM   #8 (permalink)
sde
Moderator
 
sde's Avatar
 
Join Date: May 2002
Location: us.ca
Posts: 4,505
sde is on a distinguished road
Quote:
Originally Posted by DJMaze View Post
You ever heard of "display: table-cell"?
http://www.w3schools.com/css/pr_class_display.asp
djm, renders nicely in FF, .. any way to be able to use that with IE?
Code:
<style>
.cell {
  display: table-cell;
  width: 150px;
  border: 1px solid red;
  padding: 10px;
  margin: 0px;
}

.cell_left {
  float:left;
}
</style>

<div>
  <div class="cell">First</div>
  <div class="cell">Last</div>
</div>
<div>
  <div class="cell">First</div>
  <div class="cell">Last</div>
</div>
<div>
  <div class="cell">First</div>
  <div class="cell">Last</div>
</div>
__________________
Mike
sde is offline   Reply With Quote