RolePlay onLine RPoL Logo

, welcome to Technical Discussions

02:35, 12th May 2024 (GMT+0)

Text Alignment in Tables.

Posted by Alhaja
Alhaja
member, 264 posts
Sun 7 Jun 2009
at 05:01
  • msg #1

Text Alignment in Tables

I have a bunch of tables in my character information. When I sent then to the GM in a PM, the table headings end up left-aligned. When I put the tables in my character sheet for the story, the table headings end up centered.

Is this intentional?
burlingk
member, 258 posts
Sun 7 Jun 2009
at 10:06
  • msg #2

Re: Text Alignment in Tables

In reply to Alhaja (msg #1):

You may need to explicitly tell it where you want the text.

Personally, I just use <pre></pre> tags for all my character sheet purposes.

:-)

That way I do not have to manually type out all the table parts to make it format the way I want it too.  ^.^
Alhaja
member, 265 posts
Mon 8 Jun 2009
at 00:02
  • msg #3

Re: Text Alignment in Tables

My recollection is that the html codes that could be used to change the alignment in tables don't work on RPoL along with other useful things such as "span."

I thought about making the character sheet text-based rather than putting it in tables, but I like the way the tables look better (and I'm pretty finicky about how things look). Once the tables are set up, it's pretty easy to maintain.

Mostly, I thought it was odd that it was inconsistent...
jazzman831
member, 99 posts
Mon 8 Jun 2009
at 01:23
  • msg #4

Re: Text Alignment in Tables

Maybe you can force them to be left-aligned by using the align="left" attribute? (I believe you have to use them for *every* tr/th tag, so it gets very cumbersome very quickly.) I've not had trouble with tables (well... once I re-remembered the code), but I've never used them in character sheets.
Alhaja
member, 266 posts
Mon 8 Jun 2009
at 01:35
  • msg #5

Re: Text Alignment in Tables

Hmmm...  I thought we couldn't use align, but I guess it's something else that I'm thinking of. That's useful to know.
burlingk
member, 259 posts
Mon 8 Jun 2009
at 05:20
  • msg #6

Re: Text Alignment in Tables

I have done some testing:

<td align="center/right/left"> works.

<table align="center/right/left"> works.

Some experimentation is in order still.  :)

colspan does not work.
YoYo-Pete
member, 1 post
Wed 24 Jun 2009
at 16:32
  • msg #7

Re: Text Alignment in Tables

In reply to burlingk (msg #6):

Colspan is so critical to having to format correctly... I have a sweet character sheet that I cant get any better,
burlingk
member, 332 posts
Thu 25 Jun 2009
at 03:17
  • msg #8

Re: Text Alignment in Tables

The alternative to colspan is not as pretty but works kinda is this


<tr><td> Text </td><td>&nbsp;</td><td>&nbsp;</td></tr>

It would result in "empty cells"
Zeldi Emberclan
member, 1640 posts
I'm a cat, my owner
is Teyla Emmagan
Thu 25 Jun 2009
at 03:27
  • msg #9

Re: Text Alignment in Tables

actually to make the width of a top table cell strentch full lenfgth of th top of the table it is best to type in <table width=50%><tr><th>Tablename</th></tr></table><table width=50%><tr><th>dasdu</th><th>dingo</th></tr></table> which then results int he following
Tablename
dasdudingo

Strenoth
member, 132 posts
Sun 28 Jun 2009
at 23:59
  • msg #10

Re: Text Alignment in Tables

I may have to play with tables a little, my current character sheet format I share is simply tabbed, which makes it a lot easier for my players to edit, but the tabs do not work outside of character sheets at all, so you can't post properly aligned character sheets.
Zeldi Emberclan
member, 1647 posts
I'm a cat, my owner
is Teyla Emmagan
Mon 29 Jun 2009
at 00:00
  • msg #11

Re: Text Alignment in Tables

actually when typing out a character sheet and can't use tabs, use the <tt></tt> command around the sheet, the formatting will remain as you typed it, all the spaces and everything will be preserved nice and formally
Strenoth
member, 133 posts
Mon 29 Jun 2009
at 17:18
  • msg #12

Re: Text Alignment in Tables

thanks for the tip!
Yoss
member, 1165 posts
A Serious Waste of Time
The largest game on RPOL
Mon 29 Jun 2009
at 21:19
  • msg #13

Re: Text Alignment in Tables

Oh, and you should use the space bar multiple times instead of tabs.
Sign In