Simple CSS style - positioning div's
===

![The style wanted][1]


This is a really simple question about CSS. I want to get the style depicted in the picture, I tried this code:

    #parent {
        overflow: hidden;
	text-align:center;
    }
    .navbar {
	position:absolute;
	top:0px;
	right:3px;	
    }
    .logo {
	float:left;
    }
    .table {
 	float:left;
    }

but it doesn't work for me, I get this: ![not this!][2]


  [1]: http://i.stack.imgur.com/06pW3.png
  [2]: http://i.stack.imgur.com/r1ysI.png