In CSS, you can try this:
#father {
position: relative;
}
#son1 {
position: absolute;
top: 0;
}
#son2 {
position: absolute;
bottom: 0;
}
The above Id selector works because of position: absolute means something like "use top, right, bottom, left to position yourself in relation to the nearest ancestor who has position: absolute or position: relative." So you can make #father have position: relative, and the children have position: absolute, then use top and bottom to position the children.