Jump to content
  • 0

[HTML] Table help


Firerain

Question

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>

Link to comment
Share on other sites

1 answer to this question

Recommended Posts

  • 0

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

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.



×
×
  • Create New...