RolePlay onLine RPoL Logo

, welcome to Technical Discussions

17:03, 25th April 2024 (GMT+0)

Easy Table Cell Height.

Posted by steelsmiter
steelsmiter
member, 1156 posts
GURPS, FFd6, Pathfinder
NO FREEFORM!
Thu 21 Aug 2014
at 20:30
  • msg #1

Easy Table Cell Height

I'm writing a table that gives speeds of a 'Magi-Lev' train based on the population (read Power Requirements) of the departure and destination locations:

Starting pointEnding Point Population
PopulationLess than 100100-9991,000-4,9995,000-9,99910,000-49,99950,000-99,999100,000+
Less than 100No Servicex.1x.15x.2x.4x.8x1
100-999x.1x.15x.2x.4x.8x1.0x1.2
1,000-4,999x.15x.2x.4x.81.0x1.2x1.5
5,000-9,999x.2x.4x.8x1.0x1.2x1.5x2
10,000-49,999x.4x.8x1.0x1.2x1.5x2x4
50,000-99,999x.8x1.0x1.2x1.5x2x4x8
100,000+x1.0x1.2x1.5x2x4x8x10

So my question here is how do I get the Starting Point and Population cells to be one cell, 2 units high, without affecting the height of the horizontal cell heights of rows 1 and 2 overall?
Glenn Loos-Austin
member, 9 posts
Age 44
Thu 21 Aug 2014
at 21:09
  • msg #2

Re: Easy Table Cell Height

steelsmiter:
So my question here is how do I get the Starting Point and Population cells to be one cell, 2 units high, without affecting the height of the horizontal cell heights of rows 1 and 2 overall?


Well, you can do it with the html-style table and the rowspan attribute. I did it, but the resulting code is really hard to read comparatively. I'm not sure it's worth it.

Starting point
Population
Ending Point Population
Less than 100100-9991,000-4,9995,000-9,99910,000-49,99950,000-99,999100,000+
Less than 100No Servicex.1x.15x.2x.4x.8x1
100-999x.1x.15x.2x.4x.8x1.0x1.2
1,000-4,999x.15x.2x.4x.81.0x1.2x1.5
5,000-9,999x.2x.4x.8x1.0x1.2x1.5x2
10,000-49,999x.4x.8x1.0x1.2x1.5x2x4
50,000-99,999x.8x1.0x1.2x1.5x2x4x8
100,000+x1.0x1.2x1.5x2x4x8x10

steelsmiter
member, 1158 posts
GURPS, FFd6, Pathfinder
NO FREEFORM!
Thu 21 Aug 2014
at 21:13
  • msg #3

Re: Easy Table Cell Height

In reply to Glenn Loos-Austin (msg # 2):

Well, that table has the appearance I want. I just was hoping it might be doable using easy tables, and if so, how.

Unrelated secondary question: If I were to use the html styles, converting all the tables that I have, would they transfer properly if I tried to download the thread?
jase
admin, 3393 posts
Cogito, ergo procuro.
Carpe stultus!
Thu 21 Aug 2014
at 23:43

Re: Easy Table Cell Height

You need "1.2" in the cell, 1 row across, 2 rows down.

Starting point
Population
Ending Point Population
Less than 100100-9991,000-4,9995,000-9,99910,000-49,99950,000-99,999100,000+
Less than 100No Servicex.1x.15x.2x.4x.8x1
100-999x.1x.15x.2x.4x.8x1.0x1.2
1,000-4,999x.15x.2x.4x.81.0x1.2x1.5
5,000-9,999x.2x.4x.8x1.0x1.2x1.5x2
10,000-49,999x.4x.8x1.0x1.2x1.5x2x4
50,000-99,999x.8x1.0x1.2x1.5x2x4x8
100,000+x1.0x1.2x1.5x2x4x8x10

/help/?t=help&page=easytable.  Find the numbered list, numbers 7 and 8 refer to column and row spans.

You're welcome.  (c;
steelsmiter
member, 1159 posts
GURPS, FFd6, Pathfinder
NO FREEFORM!
Fri 22 Aug 2014
at 00:06
  • msg #5

Re: Easy Table Cell Height

jase:
You need "1.2" in the cell, 1 row across, 2 rows down.

Neat, thanks! would that mean if I had 8.3, it would be 8 wide and 3 tall?
jase
admin, 3394 posts
Cogito, ergo procuro.
Carpe stultus!
Fri 22 Aug 2014
at 09:20

Re: Easy Table Cell Height

In reply to steelsmiter (msg # 5):

Why yes it would.
Sign In