I learned a CSS trick today - centering an absolutely positioned div. It is quite simple, really. Set top to 50% and set the left-margin to a negative value of half of it's width.
For example:
#centered_div {
position: absolute;
width:500px;
top: 0;
left: 50%;
margin-left: -250px;
}
Cleverly simple.
Steven Reimer
