Jump to content

creating tables or spacing over like a tab would


Recommended Posts

Hello. I am new to php and am ready to launch a site. However one page is really bad looking (http://www.epicunion.com/~nowhope/join_schedule.php)

 

I would like it spaced out more to look something like this (table or spaces, just can't get it and help would be wonderful)

 

So instead of leaving it like

Pakistan (Karachi, Islamabad, Lahore) February 17 - 27 $2,500

 

 

I want it to have a few spaces between the country, date, and price. It would be great if they all lined up some how.

 

I can email the php page to anyone that can help (sean@hulins.com)

 

Thanks for reading and helping a newbie out!

 

Sean

Link to comment
Share on other sites

Not sure exactly what you mean but to put some distace between words easily without css styles use   for extra spaces so

 

                <tr>
                <th width="321" scope="col"> <div align="left">Pakistan ( Karachi, Islamabad,  Lahore)</div></th>
                <th width="125" scope="col"> <div align="left">Feb 17 - 27 </div></th>
                <th width="121" scope="col"> <div align="left">$2,500 </div></th>
              </tr>

 

Becomes:

 

 <tr>
                <th width="321" scope="col"> <div align="left">Pakistan  ( Karachi        Islamabad        Lahore)</div></th>
                <th width="125" scope="col"> <div align="left">Feb 17 - 27 </div></th>
                <th width="121" scope="col"> <div align="left">$2,500 </div></th>
              </tr>

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.