Scripsit shapper:
<div id="container">
<img id="image"/>
<div id="content">
</div>
You should have posted a URL and not a fragment of HTML, which isn't even
what you've really got (you hardly have that badly invalid markup).
Is it possible to float the image left and the div right and make them
side by side with CSS?
Yes. What's the problem with that? You need to set the width for the div, of
course. And if they are just floated that way, they might appear rather far
from each other, but that's really what you asking for.
Or maybe you actually want them to appear _near_ to each other, on the left.
Then float both of them left (and set some reasonable margin between them).
I know how to do this by placing the image inside another div but I
would like to avoid that.
Why would you avoid that, and what have you really done? Telling the URL
might reveal what the desired appearance really is.
--
Jukka K. Korpela ("Yucca")
http://www.cs.tut.fi/~jkorpela/