<DIV> flowing like <IMG>

<div class="gallery">
   <p style="background-color">Title</p>
   <img />
</div>

I want div.gallery to flow across the page like a <IMG> tag normally
does, but want to keep the title aligned with it. I tried
display:inline, but but the merely broke the <DIV> width element and
had the <P> background-color go 100%.

I don't want to go with table mainly because I don't want a fixed
number of columns, (and secondly I'm trying to avoid using table for
layout)

-- 
Gerald Grenier, Jr
aka Rogue the Bronze Firelizard
uninstall dyslexia.o : Permission deigned

Received on Monday, 11 February 2008 13:05:47 UTC