Can not seem to get table to align

toprsps2014

New Member
If someone adds a server with little or no description, it looks like this
Is there a way that you must have typed atleast 105 characters before it will let you register the server, OR how would i fix this







Table_row

HTML:
<center><table><tr role="row" class="site even">
<td width="74" class="rank hidden-sm hidden-xs sorting_1">{$rank}</td>
<td width="850" class="description"><a href="{$url}" onClick="out(this,'{$username}');" rel="nofollow"><img src="{$banner_url}" alt="{$title}"  class="" title="{$title}"/></a><p><a href="{$url}" title="{$title}" class="show_banner" style="font-family: Gotham, 'Helvetica Neue', Helvetica, Arial, sans-serif; font-style: normal; font-weight: bolder;" rel="nofollow" onclick="out(this,'{$username}');">{$title}</a></p>
<p itemprop="description" class="hidden-sm hidden-xs">{$description, length=255}</p>
</td>
<td width="174px" class="rank hidden-sm hidden-xs sorting_1">{$unq_in_overall}</td>
</tr></table></center>
 

cajkan

Active Member
Yes you can do that, but why to force the people to type useless description if they dont have.

Sometimes short is better, and some users to be attractive dont even post a description :) Its just user style
 

Basti

Administrator
Staff member
A url would defenetly help to inspect element.
As a sidenode,
<td width="174px"
i am not sure this is valid ( the px in there ). Been long time since i used fixed tables widths so i could be wrong

Based on the classes i see, i guess you use bootstrap. Why not make use of their col- management instead of tables?
Code:
<div class="row">
    <div class="col-md-2"></div>
    <div class="col-md-8"></div>
    <div class="col-md-2"></div>
</div>
 
Top