Jump to content


Photo

creating tables or spacing over like a tab would


  • Please log in to reply
1 reply to this topic

#1 redskillet

redskillet
  • New Members
  • Pip
  • Newbie
  • 1 posts

Posted 08 December 2005 - 03:40 AM

Hello. I am new to php and am ready to launch a site. However one page is really bad looking (http://www.epicunion...in_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

#2 morpheus.100

morpheus.100
  • Members
  • PipPipPip
  • Advanced Member
  • 145 posts

Posted 08 December 2005 - 07:17 PM

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 &nbsp;( Karachi &nbsp; &nbsp; &nbsp; &nbsp;Islamabad &nbsp; &nbsp;&nbsp; &nbsp; 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>






0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users