W3C home > Mailing lists > Public > www-html@w3.org > February 2008

<DIV> flowing like <IMG>

From: Gerald \ <roguebfl@gmail.com>
Date: Mon, 11 Feb 2008 08:05:39 -0500
Message-ID: <5ab8ccff0802110505q5004b5a9rd28b4da8e5005b4b@mail.gmail.com>
To: "www-html@w3.org" <www-html@w3.org>

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

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

Gerald Grenier, Jr
aka Rogue the Bronze Firelizard
uninstall dyslexia.o : Permission deigned
Received on Monday, 11 February 2008 13:05:47 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 15:06:18 UTC