Skip to content

[HTML] Table help

Featured Replies

Hey, I'm trying to make a table for my GM Shop NPC. I have the rows and columns down, I'm just trying to make it display "Weapons, Armor, Misc" above it. I sort of have it, but as you can see in the picture below, not quite. What am I doing wrong?

 

Here's what it looks like ingame:

vql1q9.png

 

Here's the code:

<html>
<title>GM-Shop</title>
<body>

<table border="0" width="120" cellspacing="15">
   
<tr>
<td>Weapons</td>
<th>Armor</th>
<th>Misc</th>
</tr>

<tr>
<td><button value="D-Grade" action="bypass -h npc_%objectId%_multisell 40006" width=75 height=21 back="L2UI_ch3.Btn1_normalOn" fore="L2UI_ch3.Btn1_normal"></td>
<td><button value="D-Grade" action="bypass -h npc_%objectId%_multisell 40008" width=75 height=21 back="L2UI_ch3.Btn1_normalOn" fore="L2UI_ch3.Btn1_normal"></td>
<td><button value="Jewels" action="bypass -h npc_%objectId%_multisell 40008" width=75 height=21 back="L2UI_ch3.Btn1_normalOn" fore="L2UI_ch3.Btn1_normal"></td>
</tr>

<tr>
<td><button value="C-Grade" action="bypass -h npc_%objectId%_multisell 40007" width=75 height=21 back="L2UI_ch3.Btn1_normalOn" fore="L2UI_ch3.Btn1_normal"></td>
<td>r2, c2</td>
<td>r2, c3</td>
</tr>

<tr>
<td><button value="B-Grade" action="bypass -h npc_%objectId%_multisell 40008" width=75 height=21 back="L2UI_ch3.Btn1_normalOn" fore="L2UI_ch3.Btn1_normal"></td>
<td>r3, c2</td>
<td>r3, c3</td>
</tr>

<tr>
<td><button value="A-Grade" action="bypass -h npc_%objectId%_multisell 40009" width=75 height=21 back="L2UI_ch3.Btn1_normalOn" fore="L2UI_ch3.Btn1_normal"></td>
<td>r3, c2</td>
<td>r3, c3</td>
</tr>

<tr>
<td><button value="S-Grade" action="bypass -h npc_%objectId%_multisell 40010" width=75 height=21 back="L2UI_ch3.Btn1_normalOn" fore="L2UI_ch3.Btn1_normal"></td>
<td>r3, c2</td>
<td>r3, c3</td>
</tr>

</table> 

</body>
</html>

Here is the html code :

 

<tr><td width=90>Weapons :<td width=90>Armors :</td><td width=90>Misc :</td></tr>

 

It will look like that :

 

Weapons                    Armors                  Misc

Create an account or sign in to comment

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.