vForums Support > Programming & Coding :: Code Requests & Support :: > [F] Mini Profile Help

[F] Mini Profile Help - Posted By Tyson (fithad) on 30th Apr 08 at 8:29pm
Problem: I can't get this lined up properly. I've tried editing the colspans but it still won't go?

Code:
 
  1. <table width="100%" border="0">
  2. <tr>
  3. <td>
  4. {if:avatar}{avatar}{/if:avatar}
  5. </td>
  6. <td>
  7. {display_name}
  8. <br />
  9. {rank}
  10. <br />
  11. {if:online}Status: <b>Online</b>{/if:online}
  12. {ifnot:online}Status: Offline{/ifnot:online}
  13. {if:custom_title}<br />{custom_title}{/if:custom_title}
  14. </td>
  15. <position="right">
  16. <td>
  17. Joined: {joined}
  18. {if:location}<br />Location: {location}{/if:location}
  19. {if:age}<br />Age: {age}{/if:age}
  20. {if:gender}<br />Gender: {gender}{/if:gender}
  21. {ifnot:gender}<br /><i>Gender Not Specified</i>{/ifnot:gender}
  22. <br />
  23. Posts: {posts}
  24. <br />
  25. {additional_info:SEPERATOR}
 


* Custom Above Mini-Profile

Re: Mini Profile Help - Posted By Michael (wrighty) on 30th Apr 08 at 8:32pm
what are you trying to get it to look like?

Re: Mini Profile Help - Posted By Tyson (fithad) on 30th Apr 08 at 11:43pm
Umm...
The way I placed it in the coding should explain. It's hard to explain it by typing it out? Basically, first two <td> would be on the left, and the third would be far right. I have it working fine but when I go to view a thread, it seems like there's too many columns so the thread message only goes 3/4 of the way across while the mini-profile does the whole length.

Did that make any sense?

Re: Mini Profile Help - Posted By Michael (wrighty) on 1st May 08 at 6:41am
I'll add it to my test forum later, and fix it up! {Smile}

Re: Mini Profile Help - Posted By Tyson (fithad) on 1st May 08 at 2:22pm
Thanks {Wink}

Re: Mini Profile Help - Posted By Michael (wrighty) on 15th May 08 at 3:27pm
You need to learn tables! {Tongue Out} There was no ending </tr></table> therefore it didn't work... Fixed version:

<table width="100%" border="0">
<tr>
<td>
{if:avatar}{avatar}{/if:avatar}
</td>
<td>
{display_name}
<br />
{rank}
<br />
{if:online}Status: <b>Online</b>{/if:online}
{ifnot:online}Status: Offline{/ifnot:online}
{if:custom_title}<br />{custom_title}{/if:custom_title}
</td>
<td align='right'>
Joined: {joined}
{if:location}<br />Location: {location}{/if:location}
{if:age}<br />Age: {age}{/if:age}
{if:gender}<br />Gender: {gender}{/if:gender}
{ifnot:gender}<br /><i>Gender Not Specified</i>{/ifnot:gender}
<br />
Posts: {posts}
<br />
{additional_info:SEPERATOR}
</td>
</tr>
</table>