PDA

View Full Version : FG Tables...



Doswelk
September 7th, 2005, 10:33
How many of the following table options work in FG?

# ROWSPAN=Number (rows spanned by the cell)
# COLSPAN=Number (columns spanned by the cell) - This works I know
# ALIGN=[ left | center | right | justify | char ] (horizontal alignment)
# VALIGN=[ top | middle | bottom | baseline ] (vertical alignment)
# WIDTH=Pixels (cell width)
# HEIGHT=Pixels (cell height)
# NOWRAP (suppress word wrap)
# BGCOLOR=Color (cell background color)

As far as I can tell only Colspan seems to work, is this right?

I am trying to write a VB app to create tables (might never get it finished) and I want to know what options I need to include.

Thanks

PTT
July 21st, 2009, 19:13
Hallo, i bump this post up as I've found this issue too. I'm currently building an A Game of Thrones d20 module (just making modifications to the d20 SRD) and I've tried to change the width of some table columns just to find it impossible.

Here's the code:


<table width="100%">
<tr decoration="underline">
<td colspan="3">
<b>Age Adjusments</b>
</td>
</tr>
<tr decoration="underline">
<td width="25%">
<b>Age Category</b>
</td>
<td>
<b>Ability Adjusments</b>
</td>
<td>
<b>Skill Adjustments*</b>
</td>
</tr>
<tr>
<td width="25%">Very young (below 7)</td>
<td>Discuss with the GM</td>
<td>Discuss with the GM</td>
</tr>
<tr>
<td width="25%">Young Child 7-8</td>
<td>-4 Str, +2 Dex, -3 Con, +2 Cha</td>
<td>+6 Hide, +2 Climb, +1 Bluff**</td>
</tr>
<tr decoration="underline">
<td width="25%">Child 9-11</td>
<td>-3 Str,+2 Dex, -3 Con, +2 Cha</td>
<td>+4 Hide, +2 Climb, +2 Bluff**</td>
</tr>
<tr>
<td width="25%">Early teen 12-13</td>
<td>-2 Str, +1 Dex, -2 Con, +1 Cha</td>
<td>+2 Hide, +2 Climb, +2 Bluff**</td>
</tr>
<tr>
<td width="25%">Young adult 14-15</td>
<td>-1 Str, -1 Con</td>
<td>+1 Hide, +1 Climb, +1 Bluff**</td>
</tr>
<tr decoration="underline">
<td width="25%">Adult 16-34</td>
<td>Normal</td>
<td>Normal</td>
</tr>
<tr>
<td width="25%">Middle Age 35-52</td>
<td>-1 Str, -1 Dex, -1 Con, +1 Int, +1 Wis, +1 Cha</td>
<td>None</td>
</tr>
<tr>
<td width="25%">Old Age 53-69</td>
<td>-3 Str, -3 Dex, -3 Con, +2 Int, +2 Wis, +2 Cha</td>
<td>None</td>
</tr>
<tr decoration="underline">
<td width="25%">Venerable 70+</td>
<td>-6 Str, -6 Dex, -6 Con, +3 Int, +3 Wis, +3 Cha</td>
<td>None</td>
</tr>
<tr>
<td colspan="3">
<i>* The Skill Adjustments are bonuses to Skill checks, not an actual increase in Skill Rank.</i>
</td>
</tr>
<tr>
<td colspan="3">
<i>** Children can be very good at deceiving adults when the adults are distracted, inattentive, or engrossed in other matters. Like servants and pets, children are quite often treated as if they are invisible. If an adult has reason to suspect a child of mischief or has full attention upon the child, these Bluff bonuses should not be counted.</i>
</td>
</tr>
</table>


Any help???

Thank you.

Griogre
July 21st, 2009, 21:36
FG's tables are very limited. Only colspan works.

PTT
July 22nd, 2009, 01:22
I was afraid of it.

Thank you for the answer.

Foen
July 23rd, 2009, 06:16
The columns are of equal width, but you can create the effect of different widths by using colspan to merge them. If you want one column of standard width and the next one to be double-width, create a three column table but use colspan on the last two columns:


<table>
<tr>
<td>narrow</td>
<td colspan='2'>wide</td>
</tr>
</table>

There is also a summary of the html support in FG on the FG Wiki:

https://oberoten.dyndns.org/fgwiki/index.php/Formatted_Text

Hope that helps

Foen

Tenian
July 23rd, 2009, 11:51
Ahh formattedtext...how I love/loathe thee..

Griogre
July 23rd, 2009, 19:31
Ahh formattedtext...how I love/loathe thee..
Quoted for Truth! I can't think of something I do with FG that I love/loathe more than tables. :(

PTT
July 24th, 2009, 01:02
The columns are of equal width, but you can create the effect of different widths by using colspan to merge them. If you want one column of standard width and the next one to be double-width, create a three column table but use colspan on the last two columns:


<table>
<tr>
<td>narrow</td>
<td colspan='2'>wide</td>
</tr>
</table>

There is also a summary of the html support in FG on the FG Wiki:

https://oberoten.dyndns.org/fgwiki/index.php/Formatted_Text

Hope that helps

Foen

Quite smart. Thanks a lot.

Doswelk
July 25th, 2009, 09:06
Quoted for Truth! I can't think of something I do with FG that I love/loathe more than tables. :(

I have to admit these days I do all my tables in a WYSIWYG HTML editor and then using find and replace to strip out the bit that FGII ignores...

Griogre
July 26th, 2009, 04:19
What editor do you use out of curiosity?

Doswelk
July 26th, 2009, 12:03
What editor do you use out of curiosity?

These days I use SharePoint Designer (slow but gets the job done), I used to use DreamWeaver (but I do not have access to legal copy of that any more).

I do most of my FGII coding in Notepad++ with the xml plugin

Brenn
July 27th, 2009, 00:41
I do most of my FGII coding in Notepad++ with the xml plugin
Notepad++ is just freakin' great. There are so many features that make doing stuff for FG2 easier- both for the XML and Lua.

Notepad++ and GIMP are what I use most for FG2 editing.

Griogre
July 27th, 2009, 06:01
I'll have to take a look at SharePoint.

I personally use Visual Studio because I happen to have it installed, though I also have Notepad++ installed and it's not bad. VS has more features though and a much better find/replace but the LUA addon for Notepad++ is sweet. I find Paint.NET to be easier to use than GIMP myself, though if I don't need to deal with transparency I use IrfanView.

Foen
July 27th, 2009, 06:07
I'm pretty much like Griogre - I use VS for editing and managing projects, and often use Paint.NET, although I switch into Paintshop to do anything complex with images.

Doswelk
July 27th, 2009, 14:17
I use Sharepoint as MS give that to me for "free" via Technet, I do not get VS :(

EugeneZ
July 28th, 2009, 05:35
I use Sharepoint

I'm so sorry. :(

Doswelk
August 26th, 2009, 00:02
I use Sharepoint

Not any more I do not!

Sharepoint 2010 will not allow you to edit html files!

Well they will but only if they are on a sharepoint server...

Back to hand coding tables :(