View Single Post
  #5 (permalink)  
Old Apr 13th, 2007, 23:24
Ryan Fait's Avatar
Ryan Fait Ryan Fait is offline
SuperMember

SuperMember
Join Date: May 2006
Location: Las Vegas
Posts: 3,786
Thanks: 0
Thanked 0 Times in 0 Posts
Re: mimic table rows

Just a note, if you want only three items per line, you can add an extra class to every third <div> so it will wrap without a container.

Code: Select all
<div class="icon">
    <img src="image1.gif" />
    Title
</div>
<div class="icon">
    <img src="image2.gif" />
    Title
</div>
<div class="icon clear">
    <img src="image3.gif" />
    Title
</div>
Code: Select all
.icon {
    width: 100px;
    text-align: center;
    float: left;
}
.clear {
    clear: left;
}
Reply With Quote