• Welcome to TechPowerUp Forums, Guest! Please check out our forum guidelines for info related to our community.

Need Help With HTML Tables for Forum

OrbitzXT

New Member
Joined
Mar 22, 2007
Messages
1,969 (0.31/day)
Location
New York City
System Name AX-01
Processor Intel Core i5-2500K @3.7 GHz
Motherboard ASRock Z68 Extreme3 Gen3
Cooling Zalman 9700
Memory Kingston HyperX T1 Series 8GB DDR3 1600 MHZ
Video Card(s) GTX 590
Storage Intel X25-M
Display(s) 42" Samsung LED HDTV
Case Antec Twelve Hundred
Audio Device(s) HT | OMEGA STRIKER 7.1
Power Supply Kingwin 1000W
Software Windows 7 64-Bit
Disclaimer: I know virtually nothing about HTML, I just happen to be a gamer that is part of a clan. What I'd like to do on one of our clan's forum posts is to create a table to neatly list Starcraft 2 Character Names, Character Codes, and their Forum Names. So 3 columns and however many rows I need for however many people there are.

The clan's forum has three buttons, 'Insert Table' 'Insert Row' 'Insert Column'. I've tried to toy around with these but not very good results, so as always I turn to this great community here for some help.

I googled some things and thought I could use code similar to this...

http://www.htmlcodetutorial.com/tables/_TD_COLSPAN.html

...then just edit it for my own needs, but that didn't work. The clan's website uses [ and ] instead of < and >, so like a noob I tried to replace the <'s with ['s and >'s with ]'s but no luck. So yeah...any help would be hugely appreciated, thank you so much.
 

PVTCaboose1337

Graphical Hacker
Joined
Feb 1, 2006
Messages
9,501 (1.43/day)
Location
Texas
System Name Whim
Processor Intel Core i5 2500k @ 4.4ghz
Motherboard Asus P8Z77-V LX
Cooling Cooler Master Hyper 212+
Memory 2 x 4GB G.Skill Ripjaws @ 1600mhz
Video Card(s) Gigabyte GTX 670 2gb
Storage Samsung 840 Pro 256gb, WD 2TB Black
Display(s) Shimian QH270 (1440p), Asus VE228 (1080p)
Case Cooler Master 430 Elite
Audio Device(s) Onboard > PA2V2 Amp > Senn 595's
Power Supply Corsair 750w
Software Windows 8.1 (Tweaked)
Try this:

Code:
<table border="1">
	<tr>
		<td colspan=3 bgcolor="#99CCFF">
		<center>SC2 Stuff</center>
		</td>
	</tr>
	<tr>
		<th>
		Name
		</th>
		<th>
		Character Code
		</th>
		<th>
		Forum Name
		</th>
	</tr>
<!--Copy the between code for each new person added!-->
	<tr>
		<td>
		PVTCaboose
		</td>
		<td>
		226
		</td>
		<td>
		PVTCaboose1337
		</td>
	</tr>
<!--Copy the between code for each new person added!-->
</table>
 
Last edited:

FordGT90Concept

"I go fast!1!11!1!"
Joined
Oct 13, 2008
Messages
26,259 (4.62/day)
Location
IA, USA
System Name BY-2021
Processor AMD Ryzen 7 5800X (65w eco profile)
Motherboard MSI B550 Gaming Plus
Cooling Scythe Mugen (rev 5)
Memory 2 x Kingston HyperX DDR4-3200 32 GiB
Video Card(s) AMD Radeon RX 7900 XT
Storage Samsung 980 Pro, Seagate Exos X20 TB 7200 RPM
Display(s) Nixeus NX-EDG274K (3840x2160@144 DP) + Samsung SyncMaster 906BW (1440x900@60 HDMI-DVI)
Case Coolermaster HAF 932 w/ USB 3.0 5.25" bay + USB 3.2 (A+C) 3.5" bay
Audio Device(s) Realtek ALC1150, Micca OriGen+
Power Supply Enermax Platimax 850w
Mouse Nixeus REVEL-X
Keyboard Tesoro Excalibur
Software Windows 10 Home 64-bit
Benchmark Scores Faster than the tortoise; slower than the hare.
<table><table> defines a table.
<tr></tr> defines a table row. They break up the table vertically. It must appear inside of the table element.
<td></td> defines a table division or cell. They break up the table horizontally. It must appear inside of the tr element.
<th></th> defines a table head division or cell. It's the same as td except it changes the font to make text stand out.

This is a great place to get the basics and quickly try stuff (like colspan, rowspan, and borders):
http://www.w3schools.com/html/html_tables.asp

Oh, you are talking about BBCode? Look at the bottom of the forum and tell us what it says. On TPU, for example, it says "Powered by vBulletin® Version 3.8.6 Copyright ©2000 - 2010, Jelsoft Enterprises Ltd." The important bit there is "vBulletin." Every forum software handles tables differently in terms of BBCode.

vBulletin is like this:
Code:
[plain][table="head"]Header1|Header2|Header3
r1c1|r1c2|r1c3
r2c1|r2c2|r2c3[/table][/plain]

Which looks like this:
Header1|Header2|Header3
r1c1|r1c2|r1c3
r2c1|r2c2|r2c3

You might also try to look at help guides on the forum for how to use it.
 
Last edited by a moderator:
Top