Click to See Complete Forum and Search --> : Absolutely Positioning Within a Floated Layout?


joseph_liu
09-21-2009, 10:56 AM
Hi guys,

Not sure if this is possible, but I need to absolutely position an image div within a layout with the other divs floated. The image needs to have a frame with a z-index applied to it, but because of the positioning is breaking the remainder of the layout.

Am I going about this all wrong?

Can you take a look at the attached diagram and share your thoughts?

Thanks!
Joe

aj_nsc
09-21-2009, 11:06 AM
For what reason does this area need to be positioned absolutely? Looks like it could be floated left just like everything else to me. You may already know this and I don't mean to insult your intelligence if you do, but if it's just a z-index issue, then you realize that you can apply a z-index to any positioned element, not only positioned absolutely (e.g. add position: relative and it will obey it's z-index rule as well).

If that doesn't help, then clarify why you need it to be positioned absolutely?