Hello,

I'm dealing with a small issue of positioning. I'm utilizing jQuery's animate() function to move two objects. However, they are not moving in proper accordance with each other. It has to do with styling, but I want to maintain the integrity of moving simultaneously - as such, I'm wondering if it's known to be possible to select one of the specific elements within your function to have it take a different style.

Code:
window.onload = function()
{
	$("#header,#logoDisplay").animate(
	{
		top: '20em'
	}, 1000 );
}
This is what I currently have the code set up to. A simple animation, it moves from the top of the screen down to just above the middle. What I'd like to do is something along the logic of the following:

Code:
window.onload = function()
{
	$("#header,#logoDisplay").animate(
	{
		$("#header").top: '20em',
                $("#logoDisplay").top: '25em'
	}, 1000 );
}
Any tips?