[HTML/CSS] Aligning two objects on the same line

Joined
Apr 29, 2005
Messages
6,400
Reaction score
130
Well, I want to have something like this:
Code:
asd(left aligned)asd(right aligned)

I tried divs, but that didn't work, that put them both on separate lines.

Any suggestions?
I could just use alot of &nbsp but that's just bad coding.
 
Jup, this is where real CSS comes:

<div style="float:left;">Left</div>
<div>Right</div>
 
Back