I have been successsfully creating two column pages that include images which can be located to the left or right of the right-hand column with text running around them using the following CSS styles:
I have now attempted to create a basic 3-column page with a header using exactly the CSS style recommended in Dan Shafer's 'Designing Without Tables'. It works fine until I add an image into the 'Content' style column which is relatively positioned, the left and right columns being absolutely positioned. When I add such an image the adjacent text lines up with the bottom of the image and if I try to have the text run around the image as suggested in Dan's excellent book by using the 'float: left' property, the image disappears beneath the content box.
I've tried everything I can think of, including modifying the z-index properties of the image but nothing helps. Can anyone offer a solution please?
More investigation reveals that this problem is related to the use of a background color in a div in IE6. Without the background color the code works fine. Hope this information might be of help to others.
When you say disapperears beneath he content box do you mean you can't see the image at all? If so have you tried adding position:relative to the floated image as IE likes children of positioned elements to have position relative set.
Bookmarks