Are they easy to make?
Announcement
Collapse
No announcement yet.
How to add tables into your posts
Collapse
X
-
How to add tables into your posts
You play a long slow deadweight red to a corner pocket. As it approaches the pocket, a kamikaze woodlouse crawls out from under the cushion and makes its way across the table, conflicting with the path of the red precisely at the point the red gets there. The red, needless to say, veers off course, and the future of the woodlouse is uncertain. - The Statman -
Here's a crash course.
I've added spaces after all of the < and before the > brackets below so that I can write this up in a post without the forum interpreting it as an actual table. When you're doing it for real, take the spaces out.
1. First, write some table tags. Every table has to go inside these:
< table border=1 > < /table >
2. Inside the table, there are rows, which are started with < tr > (table row) and ended with < /tr >
eg: a table with three rows would look like this:
< table border=1>
< tr >< /tr >
< tr >< /tr >
< tr >< /tr >
< /table >
3. Inside each row, there are cells for your table data, these are started with < td > and ended with < /td >. Your actual data goes between these tags.
eg: a table with three rows and two columns would look like this:
< table border=1>
< tr >< td >Row 1, Col 1< /td >< td >Row 1, Col 2< /td >< /tr >
< tr >< td >Row 2, Col 1< /td >< td >Row 2, Col 2< /td >< /tr >
< tr >< td >Row 3, Col 1< /td >< td >Row 3, Col 2< /td >< /tr >
< /table >
Note: I've split this up onto different lines to make it easier to see what's going on. When you're ready to post, you should take the line breaks out:
< table border=1>< tr >< td >Row 1, Col 1< /td >< td >Row 1, Col 2< /td >< /tr >< tr >< td >Row 2, Col 1< /td >< td >Row 2, Col 2< /td >< /tr >< tr >< td >< /td >Row 3, Col 1< td >Row 3, Col 2< /td >< /tr >< /table >
Removing the spaces from the tags to show what this looks like:
Row 1, Col 1 Row 1, Col 2 Row 2, Col 1 Row 2, Col 2 Row 3, Col 1 Row 3, Col 2
Comment
-
Glad to help.
It is a bit clumsy for lots of data. I think things like the BDE scoreboard are best kept simple because everybody needs to be able to update them. Tables do have their uses though.
The code you now know how to use by the way is standard HTML, so you can use the same method to add tables to your own webpage.
Comment
-
Crucible frames
Year Frames 1977 375 1978 372 1979 363 1980 465 1981 455 1982 487 1983 585 1984 569 1985 567 1986 587 1987 585 1988 567 1989 568 1990 594 1991 583 1992 580 1993 558 1994 596 1995 576 1996 583 1997 615 1998 598 1999 594 2000 598 2001 578 2002 581 2003 589 2004 594 2005 605 2006 579
You play a long slow deadweight red to a corner pocket. As it approaches the pocket, a kamikaze woodlouse crawls out from under the cushion and makes its way across the table, conflicting with the path of the red precisely at the point the red gets there. The red, needless to say, veers off course, and the future of the woodlouse is uncertain. - The Statman
Comment
-
Is there a secret for doing big tables fairly quickly?2009 Shanghai Masters Predict the Qualifiers Champion
2008 Grand Prix Final Prediction Champion
http://ryan147.com
Comment
-
Originally Posted by crucible77 View PostIs there a secret for doing big tables fairly quickly?
Have an Excel spreadsheet with every column of data you need to use, with a blank column between each one. (So, you will use columns B, D, F, H etc.)
Then, in the in-between columns put in the relevant code, which will be:
for the final right-hand column.for column A
for all the mid columns
Then copy the whole thing and Paste Special it into Word (select "Unformatted Text" on the Edit>Paste Special menu).
Now, do a find/replace for all Tab characters (Find: ^t and Exchange: [leave blank])
Do the same for all Paragraph characters (Find: ^p and Exchange: [leave blank])
You now have your one continuous string of text which is ready to go into your post.
In the post itself, have this typed in:
></table>. Copy the text from the Word document and paste it between the > and the < (shown in red above) and your table will be splendid.
Comment
Belated thank you, Statman.Robbo's potting is so good he doesn't need to bother with positional play like the rest of the players. He laughs in the face of those who spend hours on the practice table perfecting their cue ball control! ~ Forman
2009 Grand Prix Fantasy Game winner
Comment
Anyone has an idea where I have made a mistake?
spike Hendry HunRon XiaoGuodong mushka Allen hotpot Maguire stebed Fu cally Wenbo MrP Carter erezpa TianPengfei Wim JinLong Mignon Day Last edited by mushka; 19 July 2010, 04:05 PM.Robbo's potting is so good he doesn't need to bother with positional play like the rest of the players. He laughs in the face of those who spend hours on the practice table perfecting their cue ball control! ~ Forman
2009 Grand Prix Fantasy Game winner
Comment
Where are you trying to post this and how! only some sections allow HTML and you have to click the double A icon top right of The WYSIWYG editor when making a new post to add HTML you can not just pop it in a message like how you would do for replying to a post.
EDIT: Example click the A/A icon and, paste your code and you get the table;
spike Hendry HunRon XiaoGuodong mushka Allen hotpot Maguire stebed Fu cally Wenbo MrP Carter erezpa TianPengfei Wim JinLong Mignon Day Last edited by ferret; 19 July 2010, 03:53 PM.
Comment
Thank you, Kevin. I didn't know.
The post was meant for a Lucky Dip thread in the international forums section. Nothing serious then and can be left without it.
Edit: I see it works here. I've forgotten the A/A thing and the advanced editor. (And to ditch Opera.)Last edited by mushka; 19 July 2010, 04:11 PM.Robbo's potting is so good he doesn't need to bother with positional play like the rest of the players. He laughs in the face of those who spend hours on the practice table perfecting their cue ball control! ~ Forman
2009 Grand Prix Fantasy Game winner
Comment
Copyright ? 2004-2019 The Snooker Forum. All Rights Reserved. Website Design SwindonPowered by vBulletin® Version 5.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.All times are GMT. This page was generated at 02:00 PM.Working...X
Comment