• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!

Gesior Tables

Castic

Member
Joined
Sep 10, 2010
Messages
175
Reaction score
7
Okay, well I want to create tables similar to how they are in the shop system. But I want 2 columns only. One for the item, and one for the description.
mainpagetf2.jpg
 
Fast made:
HTML:
<table width="100%" cellpadding="4px" cellspacing="1px">
	<tr bgcolor="<?= $config['site']['vdarkborder']; ?>">
		<td>What?</td>
	</tr>
</table>
<table width="100%" cellpadding="4px" cellspacing="1px">
	<tr bgcolor="<?= $config['site']['vdarkborder']; ?>">
		<td>Column 1</td>
		<td>Column 2</td>
	</tr>
	<tr bgcolor="<?= $config['site']['darkborder']; ?>">
		<td>Write something in column 1!</td>
		<td>Write Something in column 2!</td>
	</tr>
</table>
You should also enable short opening tag in your .ini file or set <?= to <?PHP echo
 
Back
Top