Creating Tables in Posts: Tips & Tricks

  • Thread starter RandallB
  • Start date
In summary, the conversation discusses the difficulty of creating properly formatted tables in a post. Even when using Courier New font, the spacing compresses and white dots must be inserted to fix it. One solution is to upload an attachment, but this may require moderator approval. Another option is to use code tags to format the table.
  • #1
RandallB
1,550
0
Is there better way of building tables in a post.
Even If you use Courier New font
the spacing still compresses unless you insert White dots
as shown here in Red.

Row name...Col 1...Col 2...Column 3
. Row 1... ... ..1 ... ...2... 3
. Row 2... ...A1...B 1...C
...Row 3 ...X...Y... Z


[edit nov 14] Thanks for the heads-up on using an attachment
and for the tip on using "code" - works much better
RB
 
Last edited:
Physics news on Phys.org
  • #2
I don't know of any easy way to put one into the body of the post, but you might find it faster to just upload an attachment if having a properly formatted table is that important to what you need to post. (In most of the forums here, attachments need moderator approval, so if you do that and we're really slow to notice it, send a PM to the mentor for the forum you're posting into point it out.)
 
  • #3
Use [ code ] [ \code ] tags

Code:
[u]Row name       Col 1       Col 2       Col 3[/u]
  Row 1          1           2           3
  Row 2          A1          B1          C1
  Row 3          X           Y           Z
 
  • #4
Thanks Gokul!

I knew there had to be some pages missing from that used mentor's manual they gave me. Oh well, I've managed to sell it to berkman now. :biggrin:
 

Related to Creating Tables in Posts: Tips & Tricks

1. How do I create a table in a post?

To create a table in a post, you can use the HTML <table> tag and its accompanying tags such as <tr> for table rows and <td> for table data cells.

2. Is there a limit to the number of columns and rows in a table?

There is no set limit for the number of columns and rows in a table. However, it is important to keep your table organized and easily readable for your audience, so it is best to limit the number of columns and rows to a reasonable amount.

3. Can I add images or other multimedia to my table?

Yes, you can add images and other multimedia to your table by using the <img> tag or embedding videos or audio files with the appropriate HTML tags.

4. How do I make my table responsive for different screen sizes?

You can make your table responsive by using CSS and media queries to adjust the table's layout and size based on the screen size. You can also use the <thead>, <tbody>, and <tfoot> tags to organize your table's content and make it more responsive.

5. Are there any design principles I should follow when creating tables in posts?

When creating tables, it is important to keep the design simple and clean. Use appropriate font sizes and colors to make the table easy to read. Also, make sure to add a title or caption to your table to provide context for your audience.

Similar threads

  • Programming and Computer Science
Replies
1
Views
1K
  • Programming and Computer Science
Replies
7
Views
1K
  • Engineering and Comp Sci Homework Help
Replies
7
Views
2K
  • Programming and Computer Science
Replies
4
Views
723
  • Programming and Computer Science
Replies
7
Views
874
  • Programming and Computer Science
Replies
4
Views
1K
  • MATLAB, Maple, Mathematica, LaTeX
Replies
1
Views
3K
  • MATLAB, Maple, Mathematica, LaTeX
Replies
2
Views
2K
  • MATLAB, Maple, Mathematica, LaTeX
Replies
2
Views
2K
  • Special and General Relativity
Replies
6
Views
1K
Back
Top