Cascading Style Sheets; How to display 2 block elements on the same line?

I have been learning CSS. I'm getting really, REALLY good. One of the things I'm having a little trouble with is layout. I have it for the most part. But for the past freakin hour, I have been trying to display the logo of the website, right next to a flash player that randomizes pictures shown. At first I couldn't figure out why I couldn't get them to display on the same line. But I know now you can't display 2 block elements on the same line. I tried doing one of these: div#flash player { display: inline; } But that got me nowhere. So, any help on how to display them on the same line, that would be great. Even better if there is a way to do it WITHOUT ABSOLUTE POSITIONING. But I guess if I have to I will use it, but only as a last result.

Public Comments

  1. what about creating a second div for the logo and use relative with floats for positioning.
Powered by Yahoo! Answers