(anonymous guest) (logged out)

Copyright (C) by the contributors. Some rights reserved, license BY-SA.

Sponsored by the Wiki Symposium and the Nuveon GmbH.

 

Add new attachment

Only authorized users are allowed to upload new attachments.

This page (revision-105) was last changed on 02-Apr-2008 10:50 by ChristophSauer  

This page was created on 25-Mar-2007 14:22 by 222.46.18.34

Only authorized users are allowed to rename pages.

Only authorized users are allowed to delete pages.

Difference between version and

At line 85 added 27 lines
I too like the simple cell alignment control and use it regularly.
When it comes to cell spanning, considerations must be made for which empty cells span.
If you have empty cells in the beginning of a row, such as a column header, it shouldn't necessarily span:
{{{
| |= col 1 |= col 2 |
|row 1| r1c1 | r1c2 |
|row 2| r2c1 | r2c2 |
}}}
but, if trailing cells are empty, should it span automatically unless you put in a space or {{{ }}} ?
{{{
| |= col 1 |= col 2 | | |= col 1 |= col 2 | | |= col 1 |= col 2 |
|row 1| r1c1 | r1c2 | vs. |row 1| r1c1 | r1c2 | vs. |row 1| r1c1 | r1c2 |
|row 2| r2c1 | | |row 2| r2c1 (spans) || |row 2| r2c1 ||
}}}
(examples of with and without natural white space, and source-text alignment.)
Maybe it should be if there's "no space" between vertical bars, it represents a NULL resulting in a SPAN. I believe this is how Tiki Text does it. (Note: I don't use spanning in Tiki Text in my situation. I like having a consistent grids in my scripts' output controlled by CSS.)
This might go against the grain for some folks used to using || for separating cells or those that like spacing for source-text alignment but natural white space in cells are treated as NULLs.
-- [[MarkStinson]], 2007-Nov-12
Version Date Modified Size Author Changes ... Change note
105 02-Apr-2008 10:50 19.726 kB ChristophSauer to previous restored locked version
104 02-Apr-2008 10:01 0.06 kB 86.96.226.14 to previous | to last
103 02-Apr-2008 08:50 19.668 kB ChristophSauer to previous | to last unlocked
102 13-Mar-2008 09:36 19.726 kB ChristophSauer to previous | to last
101 13-Mar-2008 09:36 19.704 kB ChristophSauer to previous | to last
« This page (revision-105) was last changed on 02-Apr-2008 10:50 by ChristophSauer