Former Member
inherit
guest@proboards.com
253794
0
May 17, 2024 1:58:02 GMT -8
Former Member
0
January 1970
Former Member
|
Post by Former Member on Mar 31, 2018 13:48:05 GMT -8
I cannot figure out how to make tables that stay a specific width for certain collumns. I would like something similar to this site, but with three collumns, instead of two; infidelis.boards.net/thread/15/barc-shop
But whenever I use the table button above, it always resizes and changes alignment and only the column with the most text gets wider. If there's a general rule of thumb, or code base that I can use for future tables to avoid my aforementioned issue, I'd be happy to know.
|
|
inherit
249320
0
Sept 16, 2019 17:45:18 GMT -8
ᴘʀɪɴᴄᴇ ᴄᴜᴘɪᴅ
beans on toast
125
September 2017
noodlestars
|
Post by ᴘʀɪɴᴄᴇ ᴄᴜᴘɪᴅ on Apr 1, 2018 4:08:39 GMT -8
hello! i'm assuming you mean that you want a table with three columns that are a set size and do not change? for example:
title one
| column one
| column two
| column three
|
| title two
| column four
| column five
| column six
|
|
this table here is similar to the one you linked yet with three columns (and more rows can be added!). is this what you are looking for? if so it is super simple! all you need to do is: make the table and go into the code, finding anywhere that it says [td]. this is what belongs in front of a column! so to set the style of the column, just do the following:
[td style="width:100px;"]content of column one here![/td] now this will set the size of the relevant column. but be warned, if there are three columns per row their widths need to add up to the overall width of the table! for example, in my tester table the overall width is 300px and each column is 100px. see what i mean? if this is in fact what you are looking for, then feel free to use my table! just quote this post and pinch the code for it if you like. hope this helped!
|
|
#00AF33
Official Code Helper
19529
0
1
Nov 19, 2012 14:18:28 GMT -8
Todge
**
17,290
January 2004
todge
|
Post by Todge on Apr 1, 2018 8:52:25 GMT -8
There be an app for this.... Help Thread...PluginOnce installed you should have several extra options when creating a table within a post, including cell width.
|
|
Former Member
inherit
guest@proboards.com
253794
0
May 17, 2024 1:58:02 GMT -8
Former Member
0
January 1970
Former Member
|
Post by Former Member on Apr 2, 2018 12:28:00 GMT -8
Thank you both, I will try both options and see which works best for me.
|
|