Jump to content

[SOLVED] tables ???


liamloveslearning

Recommended Posts

hey everyone  ;D

 

im having trouble with a page of mine which just displays data in tables' ive never ever been good with them so this may seem really simple but despite my efforts i cant get it to work; i have a page with a table container sort of which is 900px; i then have this code inside it to display one table of data,

 

<table width="600" border="0" cellpadding="4" cellspacing="3" class="box_border">
        <tr class="normal" bgcolor="#ECECEC" valign="top">
          <td width="180"><strong>{LANG_STATUS}: </strong></td>
          <td>{PROJECT_STATUS}</td>
        </tr>
        <tr class="normal">
          <td><strong>{LANG_BUDGET}: </strong></td>
          <td>{PROJECT_BUDGET}</td>
        </tr>
        <tr class="normal" bgcolor="#ECECEC" valign="top">
          <td><strong>{LANG_CREATED}:</strong></td>
          <td>{PROJECT_START_DATE} at {PROJECT_START_TIME} {PROJECT_START_TIMEZONE} </td>
        </tr>
        <tr class="normal">
          <td><strong>{LANG_BIDENDS}:</strong></td>
          <td>{PROJECT_END_DATE} at {PROJECT_END_TIME} {PROJECT_END_TIMEZONE} </td>
        </tr>
        <tr class="normal" bgcolor="#ECECEC" valign="top">
          <td><strong>{LANG_PROJCREATOR}:</strong></td>
          <td><a href="{PROJECT_CREATOR_LINK}">{PROJECT_CREATOR_USERNAME}</a></td>
        </tr>
        <tr class="normal">
          <td><strong>{LANG_RATING}: </strong></td>
          <td>		  
	  IF("{REVIEWS}"=="0"){({LANG_NOFEEDYET}){:IF}
	  IF("{REVIEWS}"!="0"){<a href="{SITE_URL}reviews.php?id={PROJECT_CREATOR_ID}&type=buyers"><img border="0" src="{SITE_URL}templates/{TPL_NAME}/images/rating_{RATING}.gif"><br>({REVIEWS} {LANG_REVIEWS})</a>{:IF}		  </td>
        </tr>
        <tr class="normal" bgcolor="#ECECEC" valign="top">
          <td><strong>{LANG_DESC}:</strong></td>
          <td> {PROJECT_DESC}</td>
        </tr>
        IF("{ATTACHMENT}" == "1"){<tr class="normal" valign="top"><td><strong>{LANG_ATTACHMENT}:</strong></td><td><a href="{SITE_URL}attachment.php?id={FILE_ID}">{FILE_NAME}</a></td></tr>{:IF}
        <tr class="normal" IF("{ATTACHMENT}"=="1"){bgcolor="#ECECEC"{:IF} valign="top">
          <td><strong>{LANG_JOBTYPE}: </strong></td>
          <td> {LOOP: PROJECT_TYPES}- {PROJECT_TYPES.name}<br>
    {/LOOP: PROJECT_TYPES} </td>
        </tr>
        <tr class="normal" IF("{ATTACHMENT}"=="0"){bgcolor="#ECECEC"{:IF} valign="top">
          <td><strong>{LANG_DATABASE}: </strong></td>
          <td>{PROJECT_DB}</td>
        </tr>
        <tr class="normal" IF("{ATTACHMENT}"=="1"){bgcolor="#ECECEC"{:IF}>
          <td><strong>{LANG_OPSYS}: </strong></td>
          <td>{PROJECT_OS}</td>
        </tr>
        {LOOP: PROJECT_CUSTOM}
        <tr class="normal" IF("{PROJECT_CUSTOM.count}"%"2"){bgcolor="#ECECEC"{:IF}>
          <td><strong>{PROJECT_CUSTOM.title}: </strong></td>
          <td>{PROJECT_CUSTOM.value}</td>
        </tr>
        {/LOOP: PROJECT_CUSTOM}
      </table>

 

that takes up 650px of the container and sits on the left; is it possible to get a table tpo sit alongside that? everytime i try and add another it goes below my table for some reason?thanks

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.