Re: Simple CSS question



In article
<36245c09-3119-41e6-b8cd-4b9b384bff22@xxxxxxxxxxxxxxxxxxxxxxxxxxxx>,
Mike Silva <snarflemike@xxxxxxxxx> wrote:

I have what I assume is a simple CSS question, to something that is
done all the time. I'm trying to lay out a column of vertical object
blocks each consisting of a graphic in the upper left of the block, a
title to the right of the graphic, and some text below the title. If
the text flows below the bottom of the graphic, I want the next object
block to begin below the text, otherwise to begin below the graphic.
Also, if the text flows below the bottom of the graphic, I don't care
if it remains to the right of the graphic or flows underneath the
graphic.

Why does this:

<div><img src="pics/crimson.png" alt=""> text... </div>

<p>Text</p>

<p>Text</p>


not do what you want?

The elements I use here are simply examples of block elements, the best
semantic element to choose depends on your purpose.

If you want the text that goes with the graphic to not flow under the
graphic, you can do this:

<http://dorayme.netweaver.com.au/silva.html>

--
dorayme
.



Relevant Pages