...

View Full Version : Resolved Aligning images next to paragraphs - easiest way?



CaptainB
04-12-2009, 01:33 PM
Hi,

I have this situation:

|-------------------------|
| paragraph |--|
|
| paragraph |--|
|
| paragraph
|
--------------------------|

The |--| symbolizes images.
What would be the easiest and most correct way to align the pictures next to the paragraphs? Wrap the paragraphs and images in a div and then float it?

Excavator
04-12-2009, 05:39 PM
Hello CaptainB,
They pretty much have to be wrapped together in a div, otherwise they won't line up when you get more than 2 or three. Have a look at a little demo I have at http://nopeople.com/CSS/image%20captions/index.html , see if that gives you any ideas.

CaptainB
04-12-2009, 08:24 PM
Hey Excavator, thanks for the link.
I ended up making two floated divs - one for the <p>s and one for the images. :)



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum