Jump to content

Positioning divs relative to other divs in the same container


roughwetgrass

Recommended Posts

With CSS:How would you position a <div> relative to another <div> within the same container?For example: One <div> is at an absolute location where I want it in the container. I would like other divs to be aligned to that positioned divs top or bottom extents.

Link to comment
Share on other sites

photo9small.jpgHere is a sketch. Basically, instead of having these set of <divs> being aligned at the top of the stack - I would like it to be aligned at the top of the <div> labeled A.And thus, since these boxes contain dynamic content, <div>A would extend downward from this point; <div>B would extend upwards from this point; etc.Thanks, I hope this makes sense!
Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...