RolePlay onLine RPoL Logo

, welcome to Technical Discussions

15:38, 23rd April 2024 (GMT+0)

Formatting Tables.

Posted by Aminethia
Aminethia
member, 6 posts
Mon 31 Oct 2016
at 14:31
  • msg #1

Formatting Tables

Okay two questions... one is it possible to Word wrap tables here? I have tried <td style="word-wrap: break-word;"> to seemingly no avail.

Second: Is there any way to force formatting like with <br> and <p>?

I am trying to format several tables to create a nice Character sheet but they keep getting jumbled (my spaces between them ignored even when I use hr tags) and the Long Text runs the sides of the sheet out really far.
Eggy
member, 729 posts
Mon 31 Oct 2016
at 15:01
  • msg #2

Formatting Tables

Have you tried using % to set the width of your columns? What does your table sheet look like so far?

Edit: double post
This message was last edited by the user at 15:01, Mon 31 Oct 2016.
Eggy
member, 730 posts
Mon 31 Oct 2016
at 15:01
  • [deleted]
  • msg #3

Formatting Tables

This message was deleted by the user at 15:01, Mon 31 Oct 2016.
Aminethia
member, 7 posts
Mon 31 Oct 2016
at 15:06
  • msg #4

Formatting Tables

In reply to Eggy (msg # 2):

Well I have managed to get the tables to at least obey spacing between them by eliminating the Align Left table tags. I have tried both various fixed widths and using the % option. All the tables without long text work nicely enough but the long text in the Feat, Spell, Abilities and Inventory tables all still refuse to Wrap.
Aminethia
member, 8 posts
Mon 31 Oct 2016
at 15:22
  • msg #5

Formatting Tables

In reply to Eggy (msg # 2):

Here is exactly what I am using for the Long Text tables that are giving me trouble.

<table width="50" style="table-layout:fixed"> <tr> <td style="word-wrap: break-word;"> <tr>

I have tried 100, 50, 25, 75%, 50%, 25%, etc.... and none of it allows for the Word Wrap.
This message was last edited by the user at 15:24, Mon 31 Oct 2016.
Eggy
member, 731 posts
Mon 31 Oct 2016
at 15:23
  • msg #6

Formatting Tables

Can you post your table with the <code> tag? I'd like to give it a shot.
Aminethia
member, 9 posts
Mon 31 Oct 2016
at 15:29
  • msg #7

Formatting Tables

In reply to Eggy (msg # 6):

Okay here is one of the tables that is having trouble. Good luck :-) and thanks in advance!

<table width="50" style="table-layout:fixed"> <tr> <td style="word-wrap: break-word;"> <tr> <td>Item</td> <td>Category</td> <td>Quantity</td> <td>Cost (gp)</td> <td>Weight (lbs)</td> <td>Location</td> <td>Notes</td> </tr> <tr> <td>Alchemists Mercy x6 (3gp)</td> <td>Alchemical</td> <td>6</td> <td>0.5</td> <td>--</td> <td>Belt Pouch</td> <td>Negates Hangovers</td> </tr> <tr> <td>Flare Paste (5gp each) x2 (Ult Equip)</td> <td>Alchemical</td> <td>2</td> <td>5</td> <td>--</td> <td>Belt Pouch</td> <td>Spreads on upto a 10x10 ft area. Does 1d6 Fire Damage for 1 round when ignited. Ignites Flammable things in area. Full rnd Action</td> </tr> <tr> <td>Gallowgum (10gp each)</td> <td>Alchemical</td> <td>1</td> <td>10</td> <td>--</td> <td>Belt Pouch</td> <td>Glues things together with a DC 20 Strength check to break hold. </td> </tr> <tr> <td>Spy Button, Flash (25p)</td> <td>Alchemical</td> <td>1</td> <td>25</td> <td>--</td> <td>Outfit</td> <td></td> </tr> <tr> <td>Spy Button, Smoke (15p)</td> <td>Alchemical</td> <td>1</td> <td>15</td> <td>--</td> <td>Outfit</td> <td>As Smoke Stick, DC 20 Check to recognize.</td> </tr> <tr> <td>Cord Armor MW (165 gp)</td> <td>Armor</td> <td>1</td> <td>165</td> <td>15</td> <td>Body</td> <td>AC+2 / Max Dex +6 / Armor Check 0 / Arcane SPF 5% / Spd 30ft </td> </tr> <tr> <td>Entertainers outfit (Tear Away) (Free)</td> <td>Clothing</td> <td>1</td> <td>8</td> <td>3</td> <td>Body</td> <td>Tear Away (Std Act to Remove) May have different Clothes/Armor under</td> </tr> <tr> <td>Explorers Outfit</td> <td>Clothing</td> <td>1</td> <td>--</td> <td>8</td> <td>Room</td> <td>Free Outfit at creation</td> </tr> <tr> <td>Jewelry (15gp)</td> <td>Clothing</td> <td>--</td> <td>15</td> <td>2</td> <td>Various</td> <td>Assorted pieces of jewelry totalling the amount shown. </td> </tr> <tr> <td>Scholars outift (cleric)</td> <td>Clothing</td> <td>1</td> <td>5</td> <td>6</td> <td>Room</td> <td>Clerics Robes</td> </tr> <tr> <td>Silver Holy Symbol (25gp)</td> <td>Clothing</td> <td>1</td> <td>25</td> <td>1</td> <td>Neck</td> <td></td> </tr> <tr> <td>Belt Pouch</td> <td>Container</td> <td>1</td> <td>0.5</td> <td>0.5</td> <td>Belt</td> <td></td> </tr> <tr> <td>Satchel</td> <td>Container</td> <td>1</td> <td>0.1</td> <td>0.5</td> <td>Shoulder</td> <td>Her Purse!</td> </tr> <tr> <td>Black Out Dose (BoEF 20gp each)x 2</td> <td>Drug</td> <td>2</td> <td>20</td> <td>--</td> <td>Belt Pouch</td> <td>BoEF Drug Pg. 127, Ingested /Fort DC 20/ Alch DC 15/ I Effect 1d4 Wis Dmg/ S Effect: Suggestion Spell (Only Sex Topics)/Side Effect: Dazzled in Bright Light for 24 hours</td> </tr> <tr> <td>Sleeves of Many Garments (200gp)</td> <td>Magic</td> <td>1</td> <td>200</td> <td>1</td> <td>Wrists</td> <td>Aura faint illusion; CL 1st; Slot wrists, The wearer of these sleeves can, when she slips them on, choose to transform the appearance of her current garments into any other non-magical set of clothing. These new clothes fit her perfectly and are always clean and mended unless she specifically designates otherwise. When she removes the sleeves, her clothes revert to their original form.</td> </tr> <tr> <td>Spell Component Pouch</td> <td>Magic</td> <td>1</td> <td>5</td> <td>0.5</td> <td>Belt</td> <td></td> </tr> <tr> <td>House Slave (Child)(30gp) </td> <td>Other</td> <td>1</td> <td>30</td> <td>--</td> <td>Room</td> <td>9yo old household slave girl named Mitzy. Well Cared for. Rescued from going to abusive masters.</td> </tr> <tr> <td>Toys/Games/Chocolate/Honey (15gp)</td> <td>Other</td> <td>1</td> <td>15</td> <td>--</td> <td>Room</td> <td>Assorted toys/games and fun foods like Chocolate or Honey totaling the Amount shown.</td> </tr> <tr> <td>Kit Disguise (50gp)</td> <td>Tools</td> <td>1</td> <td>50</td> <td>5</td> <td>Satchel</td> <td>10 Uses before it needs refreshing… gives +2 to any Disguise related skill check</td> </tr> <tr> <td>MW Theives Tools (100gp)</td> <td>Tools</td> <td>1</td> <td>100</td> <td>2</td> <td>Satchel</td> <td>Gives +2 to Disable Device Checks</td> </tr> <tr> <td>Portable Alchemy Lab (75gp)</td> <td>Tools</td> <td>1</td> <td>75</td> <td>20</td> <td>Room</td> <td>Gives +1 on Alchemy Checks</td> </tr> <tr> <td>MW Disguised Dagger (Hair Pin) (352gp)</td> <td>Weapon</td> <td>1</td> <td>352</td> <td>0.5</td> <td>Hair</td> <td>Dmg 1d4 P or S, 19-20 x2, 10 Range Inc, +5 to Sleight of Hand for Concealing, Looks like Ornate Hairpin</td> </tr> <tr> <td></td> </tr> </table>
Eggy
member, 732 posts
Mon 31 Oct 2016
at 15:35
  • msg #8

Formatting Tables

Ok. Just took a look at it posted. On my screen at first glance, the text in the Notes column wraps at 10-15 characters. It looks like it's half the width of the Item column.

I'm going to try something.
Eggy
member, 733 posts
Mon 31 Oct 2016
at 16:04
  • msg #9

Formatting Tables

I tried to set the width to 50% in EasyTable, but the other format created narrower columns no matter how low I set the percentage. For me, both Notes columns wrap in the same location, but the top table is wider overall and has a little more space between the lines and the text.

Sorry that I wasn't any help.

ItemCategoryQuantityCost (gp)Weight (lbs)LocationNotes
Alchemists Mercy x6 (3gp)Alchemical60.5--Belt PouchNegate hangovers
Flare Paste (5gp each) x2 (Ult Equip)Alchemical25--Belt PouchSpreads on upto a 10x10 ft area. Does 1d6 Fire Damage for 1 round when ignited. Ignites Flammable things in area. Full rnd Action
Gallowgum (10gp each)Alchemical110--Belt PouchGlues things together with a DC 20 Strength check to break hold.





ItemCategoryQuantityCost (gp)Weight (lbs)LocationNotes
Alchemists Mercy x6 (3gp)Alchemical60.5--Belt PouchNegates Hangovers
Flare Paste (5gp each) x2 (Ult Equip)Alchemical25--Belt PouchSpreads on upto a 10x10 ft area. Does 1d6 Fire Damage for 1 round when ignited. Ignites Flammable things in area. Full rnd Action
Gallowgum (10gp each)Alchemical110--Belt PouchGlues things together with a DC 20 Strength check to break hold.

Aminethia
member, 10 posts
Mon 31 Oct 2016
at 16:11
  • msg #10

Formatting Tables

In reply to Eggy (msg # 9):

Actually... that looks a LOT better than what I was have now. The words are actually wrapping instead of all strung out on a single long line. What was the code used? Does it work for the Sleeves of Many Garments entry later in the table? That ones text is much longer.

In my table currently on my Character sheet NONE of the lines wrap back even once. All the text just runs on out in a single line even with my Word Wrap tags included.
This message was last edited by the user at 16:13, Mon 31 Oct 2016.
Eggy
member, 734 posts
Mon 31 Oct 2016
at 16:20
  • msg #11

Formatting Tables

<code>|Item|Category|Quantity|Cost (gp)|Weight (lbs)| Location| Notes|50%
<code>|Alchemists Mercy x6 (3gp)|Alchemical|6|0.5|--|Belt Pouch|Negate hangovers|

When I put the other half of the code tag, it doesn't turn out right, but this is what the header and each following line look like. I just c/p the second line and changed the text each time.

Let me try the longer entry. How's it look to you?

ItemCategoryQuantityCost (gp)Weight (lbs)LocationNotes
Alchemists Mercy x6 (3gp)Alchemical60.5--Belt PouchNegate hangovers
Flare Paste (5gp each) x2 (Ult Equip)Alchemical25--Belt PouchSpreads on upto a 10x10 ft area. Does 1d6 Fire Damage for 1 round when ignited. Ignites Flammable things in area. Full rnd Action
Gallowgum (10gp each)Alchemical110--Belt PouchGlues things together with a DC 20 Strength check to break hold.
Sleeves of Many Garments (200gp)Magic12001WristsAura faint illusion; CL 1st; Slot wrists, The wearer of these sleeves can, when she slips them on, choose to transform the appearance of her current garments into any other non-magical set of clothing. These new clothes fit her perfectly and are always clean and mended unless she specifically designates otherwise. When she removes the sleeves, her clothes revert to their original form.

This message had punctuation tweaked by the user at 16:22, Mon 31 Oct 2016.
Aminethia
member, 11 posts
Mon 31 Oct 2016
at 16:32
  • msg #12

Formatting Tables

In reply to Eggy (msg # 11):

That looks good but oh so much work lol Thanks
Eggy
member, 735 posts
Mon 31 Oct 2016
at 16:38
  • msg #13

Formatting Tables

Glad I could help some. Good luck with your tables.
Aminethia
member, 12 posts
Mon 31 Oct 2016
at 23:57
  • msg #14

Formatting Tables

Simple Table works in the forums... but not on the sheets. Still no word wrap there

Anyone else have ideas?
Tyr Hawk
member, 239 posts
You know that one guy?
Yeah, that's me.
Tue 1 Nov 2016
at 01:05
  • msg #15

Formatting Tables

In reply to Aminethia (msg # 14):

Ask your GM to turn word wrap for your sheet on. That's the easiest way I know of, because then it functions like the forums.
Aminethia
member, 13 posts
Tue 1 Nov 2016
at 02:28
  • msg #16

Formatting Tables

In reply to Tyr Hawk (msg # 15):

This is needed information lol Thank you. I will do that!
Tyr Hawk
member, 240 posts
You know that one guy?
Yeah, that's me.
Tue 1 Nov 2016
at 03:07
  • msg #17

Formatting Tables

In reply to Aminethia (msg # 16):

Naturally. ;) I find most GMs don't turn on word wrap for whatever reason, so letting them know you want it on is always a good thing.
Sign In