[CSS] float

I’m trying to get the user and nav div’s to go side by side, but the user div is squashed downward and isn’t as wide as I set it.


#page {
	margin: auto;
	width: 1000px;
}

#nav {
	background: #444d45;	// black
	width: 800px;
	height: 45px;
}

#user {
	float: right;
	background: #444d45;	// black
	width: 200px;
	height: 45px;
}

..........


<div id="page">
	
		<div id="nav">
			nav
		</div>
		
		<div id="user">
			user
		</div>

                .....