sg552
10-02-2010, 10:12 AM
Hello everyone,
I have some problem regarding my website. I need to align the vertical line like the image below. Please take a look:
My current vertical line:
http://img693.imageshack.us/img693/6271/46610003.png
I need to change to this:
http://img202.imageshack.us/img202/5647/95766637.png
This is my code:
<table width="517" border="0">
<tr>
<td width="100" style = "vertical-align: top;"><p><img src="<?php echo $row['gambar_profil'] ?>" width="130" height="130" style="position:relative; height: 133px; width: 133px; background:#FAFAFA; border:1px solid #e5e5e5; padding: 10px;" />
<br>
<a href="/alumni/senarai_ahli.php">Senarai ahli alumni</a> <br />
<a href="/alumni/edit_profil.php">Kemas kini profil</a> <br />
<a href="/alumni/log_keluar.php">Log Keluar</a></p>
</td>
<td width="401" style=" border-right:1px solid #a0a0a0;">
This is where I make the line here at <td>
</td>
<td width="401" border=""><blockquote><?php echo $row['dinding'] ?></blockquote>
<form action="" method="post" name="formEdit" id="formEdit" >
<p>
<table width="376"><b>Maklumat</b>
<tr>
<td width="154">Nama :</td>
<td width="212"><b><?php echo $row['nama'] ?></b></td>
</tr>
<tr>
<td>Emel :</td>
<td><?php echo $row['emel'] ?></td>
</tr>
<tr>
<td>Alamat</td>
<td><?php echo $row['alamat'] ?></td>
</tr>
<tr>
<td>No. Telefon (R)</td>
<td><?php echo $row['telefon_rumah'] ?></td>
</tr>
<tr>
<td>No. Telefon (B)</td>
<td><?php echo $row['telefon_bimbit'] ?></td>
</tr>
<tr>
<td>Pekerjaan</td>
<td><?php echo $row['pekerjaan'] ?></td>
</tr>
</table>
</p>
</form></td>
</tr>
</table>
As you can see I'm using table. I'm open to all suggestion and idea. Thanks for your time :)
I have some problem regarding my website. I need to align the vertical line like the image below. Please take a look:
My current vertical line:
http://img693.imageshack.us/img693/6271/46610003.png
I need to change to this:
http://img202.imageshack.us/img202/5647/95766637.png
This is my code:
<table width="517" border="0">
<tr>
<td width="100" style = "vertical-align: top;"><p><img src="<?php echo $row['gambar_profil'] ?>" width="130" height="130" style="position:relative; height: 133px; width: 133px; background:#FAFAFA; border:1px solid #e5e5e5; padding: 10px;" />
<br>
<a href="/alumni/senarai_ahli.php">Senarai ahli alumni</a> <br />
<a href="/alumni/edit_profil.php">Kemas kini profil</a> <br />
<a href="/alumni/log_keluar.php">Log Keluar</a></p>
</td>
<td width="401" style=" border-right:1px solid #a0a0a0;">
This is where I make the line here at <td>
</td>
<td width="401" border=""><blockquote><?php echo $row['dinding'] ?></blockquote>
<form action="" method="post" name="formEdit" id="formEdit" >
<p>
<table width="376"><b>Maklumat</b>
<tr>
<td width="154">Nama :</td>
<td width="212"><b><?php echo $row['nama'] ?></b></td>
</tr>
<tr>
<td>Emel :</td>
<td><?php echo $row['emel'] ?></td>
</tr>
<tr>
<td>Alamat</td>
<td><?php echo $row['alamat'] ?></td>
</tr>
<tr>
<td>No. Telefon (R)</td>
<td><?php echo $row['telefon_rumah'] ?></td>
</tr>
<tr>
<td>No. Telefon (B)</td>
<td><?php echo $row['telefon_bimbit'] ?></td>
</tr>
<tr>
<td>Pekerjaan</td>
<td><?php echo $row['pekerjaan'] ?></td>
</tr>
</table>
</p>
</form></td>
</tr>
</table>
As you can see I'm using table. I'm open to all suggestion and idea. Thanks for your time :)