Jump to content

Problems with tables


Norman
 Share

Recommended Posts

I have set a code that put more that one table in an other table.

       <table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="90%" align="center">   <tr>   <td class="thead">   <div style="font-size: 30px; text-align: center;"><if condition="$userinfo['field6']">$userinfo[field6]<else />Il Profilo di $userinfo[username]</if></div>   </td>   </tr>   </table>             <table class="tborder" cellpadding="0" cellspacing="0" border="0" width="100%">   <tr>   <td width="50%">   <table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="90%" align="$stylevar[left]">   <tr>   <td class="tcat" colspan="2">   <span style="float:$stylevar[right]" class="smallfont">   <if condition="$show['lastactivity']">   <div>$vbphrase[last_activity]: $userinfo[lastactivitydate] <span class="time">$userinfo[lastactivitytime]</span> </div>   </if>   <if condition="$show['currentlocation']">   <div>$userinfo[action] $userinfo[where]<if condition="$show['detailedtime']"> - <else /> @ </if> $userinfo[time] </div>				   </if>   </span>   <div style="font-size: 20px;">   $userinfo[username]   </div>   </td>   </tr>      <tr>   <if condition="$show['avatar']">   <td class="alt2" width="20%">   <img src="$userinfo[avatarurl]" $userinfo[avatarsize] alt="<phrase 1="$userinfo[username]">$vbphrase[xs_avatar]</phrase>" border="0" style="border:1px solid $stylevar[tborder_bgcolor]; border-top:none" />   </td>   <else />   <td class="alt2"> </td>   </if>      <td class="alt1" valign="top" width="80%">   <table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="$stylevar[center]">   <tr>   <td class="tcat">   <div style="text-align: center;">Informazioni</div>   </td>   </tr>   <td class="alt1" width="100%">   <strong>$vbphrase[join_date]</strong>: $userinfo[datejoined]      <strong>$vbphrase[total_posts]</strong>: $userinfo[posts] (<phrase 1="$postsperday">$vbphrase[x_posts_per_day]</phrase>)      <strong>$vbphrase[birth_date]</strong>: $userinfo[birthday]      <strong>$vbphrase[age]</strong>: $userinfo[age]		      </td>   </tr>   </table>      </td>   </tr>   </table>   </td>         <td width="50%">   <table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="$stylevar[right]">   <tr>   <td class="tcat">   <div style="font-size: 20px;">Welcome..</div>   </td>   </tr>   <tr>   <td class="alt1" valign="top">   <if condition="$userinfo['field7']">$userinfo[field7]<else /><span style="font-style:  italic;">$userinfo[username] non ha ancora scritto un messaggio di benvenuto per il suo Profilo.</span></if>   </td>   </tr>   </table>                                 <table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="$stylevar[right]">   <tr>   <td class="tcat">   <div style="font-size: 20px;">Bio</div>   </td>   </tr>   <tr>   <td class="alt1" valign="top" width="100%">   <if condition="$userinfo['field8']">$userinfo[field8]<else /><span style="font-style:  italic;">$userinfo[username] non ha ancora scritto la sua biografia.</span></if>   </td>   </tr>   </table>   </td>   </tr>   </table>             <table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="90%" align="center">   <tr>   <td class="thead">   <div style="font-size: 30px; text-align: center;">..:::Profilo:::..</div>   </td>   </tr>   </table>    

But when I put a lot of words in fields that appear on those tables they don't go down (I don't know the right english word..). For example:This is what I have..

|	Test on the table   |

This is what I want:

|	Test on	 ||	the table   |

Link to comment
Share on other sites

Yes - make it smaller (e.g. 200px or similar) so that the text is forced to wrap (e.g. go onto a new line, "go down").

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...