CSS Help ! Urgent!

Anyone can easily insert image and text on the same line using CSS Float. But I want to display Code ( Example - Facebook like box ) and text on the same line. Is it possible? How can I do this?

[font=verdana]You do it in just the same way. For example, you put your code in a line like
<div class="code"> ...[code goes here]...</div>
and then in the CSS, you put
.code {float:left;}

There may be other, better ways of achieving the same effect, but it’s difficult to say what would be best from what you’ve told us so far.[/font]

Thanks a lot. It’s working :smiley: