[thelist] RE: Image placement using CSS

Richard Lake relake at akc.quik.co.nz
Sat Nov 9 14:39:03 CST 2002


I'm having a great deal of difficulty using style sheets to place my images
where I want them.

I have a DIV containing paragraphs, each of the paragraphs contain an image
and are enclosed in a border. I want the image within the border, but
alternating side to side for each paragraph.

This works in N6 and almost works in IE6, (ha! ha! except the images are
beneath (literally beneath) the paragraph and are not fully enclosed within
the border).

I've tried wrapping another DIV around the paragraph and image to increase
the size of the border to enclose the paragraph and image but that doesn't
help IE6, N6 is still fine. I can use a <br clear="all" /> with a &nbsp; to
force the border around the image but it's not very nice, but for IE6 the
images are STILL invisible underneath the paragraph. Quite frustrating
really!

So there's two problems, both IE6:
1) border won't wrap around both the paragraph and he image
2) images are not visible becuase they appear to be underneath the box
containing the text.

I have put up a test page at http://www.edenflowers.co.nz/test.html
(apologies for the slow load on the images, I've put borders around so you
don't need to wait).

Thanks for any help you can give me

Richard








More information about the thelist mailing list