Page 1 of 1

cell spacing? cellpadding?

Posted: Sat Feb 17, 2007 12:35 am
by psychotomus
http://www.sundaybrew.com/profile.php?user=Sim if you look here. under that avatar. Everything is stuck in the left cell. I cant get the cell to be 2 cells wide. how do i do that?

Code: Select all

<table width="100%"  border="0">
                  <tr>
                    <td width="46%" valign="top"><img src="<?= $line2['u_avatar_url'] ?>"></td>
                    <td width="54%" align="left" valign="top" style="padding-left: 10px; font-size: 14px; font-weight: bold; color: white;"><div align="left" class="style1"><font color="#000000"><b>Name:
                      <?= $_GET['user'] ?>
                      <br>
                      Location: 
                      <?= $line2['u_state'] ?>
                      <br>
                      Country: 
                      <?= $line2['u_country'] ?>
                      <br>
                      Member Since: 
                      <?= $line2['u_datereg'] ?> 
                      <br>
                      Last Login: 
                      <?= $line2['u_lastlogin'] ?>
                      <br>
                      URL: 
				      <? 
					  if ($line2['u_url'] == "http://" || $line2['u_url'] == "") 
					  echo ""; 
					  else 
					  echo '<a href="' . $line2['u_url'] . '">' . $line2['u_url'] . '</a>'; 
					  ?> </b></font>
			        </div></td>
                  </tr>
                  <tr>
                    <td valign="top"><a href="user.php?location=myaccount&page=messages&mail=compose&user=<?=  htmlspecialchars(str_replace("\'", "'", $_GET['user'])) ?> ">Message this user</a><hr> </td>
					<td valign="top"><a href="user.php?location=myaccount&page=addfriend&user=<?=  htmlspecialchars(str_replace("\'", "'", $_GET['user'])) ?> ">Add this user to friends</a><hr> </td>
                  </tr>
                  <tr>
                    <td valign="top">Interest<hr> <?= $line2['u_interest'] ?><hr> </td>
                  </tr>
                  <tr>
                    <td valign="top">Music<hr> <?= $line2['u_music'] ?><hr> </td>
                  </tr>
                  <tr>
                    <td valign="top">Movies<hr> <?= $line2['u_movies'] ?></td>
                  </tr>
                </table>

Posted: Sat Feb 17, 2007 12:38 am
by psychotomus
n/m. I got it cause im a GOD