Pedigree Sandbox

These are some pedigree mockups for Beyond, to get a feel for how to construct pedigree charts in HTML/CSS. As for browser compatibility, it works fine in Firefox (Mac/Win) and Internet Explorer (Win), but for some reason Safari is being weird.

Two-Generation

John Preston Crowder John Franklin Crowder
1839-1896
Montgomery/Rowan, NC
1887-1972
Montgomery, NC / Richmond, VA
Sarah Elizabeth Bailey
1848-1936
Anson, NC / Chesterfield, VA

Three-Generation, Fixed-Width (width=650px)

Clifford Shanks James Shanks Robert Shanks
1783-1871
Ireland/Petersburg, VA
1831-1884
Petersburg, VA
Elizabeth
1795-1871
Ireland/Petersburg, VA
1862-1906
Petersburg, VA
Ann Emily Brown
1826-1866
Brunswick/Petersburg, VA

Three-Generation, Fit-to-Size Width

Clifford Shanks James Shanks Robert Shanks
1783-1871
Ireland/Petersburg, VA
1831-1884
Petersburg, VA
Elizabeth
1795-1871
Ireland/Petersburg, VA
1862-1906
Petersburg, VA
Ann Emily Brown
1826-1866
Brunswick/Petersburg, VA

Three-Generation, Full-Width (width=100%)

Clifford Shanks James Shanks Robert Shanks
1783-1871
Ireland/Petersburg, VA
1831-1884
Petersburg, VA
Elizabeth
1795-1871
Ireland/Petersburg, VA
1862-1906
Petersburg, VA
Ann Emily Brown
1826-1866
Brunswick/Petersburg, VA

Three-Generation, Full-Width/Fixed-Height (w=100%, h=600px)

Clifford Shanks James Shanks Robert Shanks
1783-1871
Ireland/Petersburg, VA
1831-1884
Petersburg, VA
Elizabeth
1795-1871
Ireland/Petersburg, VA
1862-1906
Petersburg, VA
Ann Emily Brown
1826-1866
Brunswick/Petersburg, VA

Family Pedigree

John Franklin Crowder
Sarah Elizabeth Bailey
William Crowder
Sarah Ballard
1. Robert (1836-????)
2. John Franklin (1839-1896)
3. Henry Clay (1831-1889)
1. Hattie Florence (1882-1965)
2. Martha Jane (1885-1985)
3. John Preston (1887-1972)
Asberry Bailey
Mary Haire
1. Henry Clay (1846-1929)
2. James Andrew (????-????)
3. Leonidas (????-????)
4. Martha (????-????)
5. Sarah Elizabeth (1848-1936)
6. Georgia Anna (1852-1936)
7. Arminta (????-????)
8. Margaret (????-????)
9. Sherwood (????-????)
10. William Gaston (????-????)
11. John Milton (????-????)

The Skeleton

John Preston Crowder John Franklin Crowder
1839-1896
Montgomery/Rowan, NC
1887-1972
Montgomery, NC / Richmond, VA
Sarah Elizabeth Bailey
1848-1936
Anson, NC / Chesterfield, VA

The HTML

<table border="0" cellpadding="0" cellspacing="0">
    <tr>
        <td rowspan="2" class="person_name" width="50%">John Preston Crowder</td>
        <td width="50%" class="person_name">John Franklin Crowder</td>
    </tr>
    <tr>
        <td class="date leftborder">1839-1896<br />Montgomery/Rowan, NC</td>
    </tr>
    <tr>
        <td rowspan="2" class="date">1887-1972<br />Montgomery, NC / Richmond, VA</td>
        <td class="person_name leftborder">Sarah Elizabeth Bailey</td>
    </tr>
    <tr>
        <td class="date">1848-1936<br />Anson, NC / Chesterfield, VA</td>
    </tr>
</table>

The CSS

.person_name
{
    vertical-align: bottom;
    border-bottom: solid 2px black;
    margin: 0;
    padding: 10px 10px 5px 10px;
}

.date
{
    vertical-align: top; 
    font-size: .85em;
    color: #777;
    margin: 0;
    padding: 2px 10px 10px 10px;
}

.leftborder
{
    border-left: solid 2px black;
}