Jump to content
  • 0

[HTML] Table help


Question

Posted

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>

1 answer to this question

Recommended Posts

  • 0
Posted

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

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now


×
×
  • Create New...

Important Information

This community uses essential cookies to function properly. Non-essential cookies and third-party services are used only with your consent. Read our Privacy Policy and We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue..