function: Code: $dimages .= '<center><a href="'.$dl->url.$image['name'].'"><img src="'.$dl->url.$image['thumb'].'" alt="'.$file['name'].'" title="'.$file['name'].'" border="0" /></a><br />Posted on '.vbdate($vbulletin->options['dateformat'], $image['date'], true).'<br />'.$edit.'</center>'; This creates thumbnails that are displayed on top of each other like so:     What i need is that they be displayed like so:         This is due to the awful waste of space it takes to just stack 20 thumbnails instead of just put them side by side. This is the html. Code: <td class="alt2" colspan="4" valign="top"> $dimages </td> this might very well be due to the table layout, but im clueless with tables.