Contoh 1
<table width=”500″ border=”0″ cellpadding=”0″ cellspacing=”10″>
<tr>
<td width=”166″ valign=”top“>Postingan anda</td>
<td width=”166″ valign=”top“>Postingan anda</td>
<td width=”166″ valign=”top“>Postingan anda</td>
</tr>
</table>
HASIL...
| Postingan anda | Postingan anda | Postingan anda |
Keterangan :
Anda bisa merubahnya sesuai keinginan anda.
table width=”500″ –> lebar table
td width=”250″ –> lebar kolom 1
td width=”250″ –> lebar kolom 2
cellpacing=”10″ –> jarak antar kolom
Sumber : http://sebarnewsdot.wordpress.com/2013/10/26/membuat-kolom-tulisan-seperti-koran-atau-majalah/
CONTOH 2
<table border="0" width="100%" cellspacing="5" style="background: #dcdcdc; color:808080"> <tr>
<th colspan="2">Teks judul</th>
</tr>
<tr>
<td>Teks kolom 1</td>
<td>Teks kolom 2</td>
</tr></table>
HASILNYA...
| Teks judul | |
|---|---|
| Teks kolom 1 | Teks kolom 2 |
CONTOH 3




0 komentar:
Posting Komentar