Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

CSS div alignment

Status
Not open for further replies.

DaveC426913

Programmer
Jul 28, 2003
274
CA
Maybe this is the right forum...


I have a div nested inside another div. The inner div is position: absolute; right: 20px.

Problem is, my inner div is *taller* than my outer div *wants* to be - the inner div hangs off the bottom edge of the outerdiv. How can I get my outer div to expand to contain the inner div?

 
Hi

This would be better answered in forum215 ( HTML, XHTML & CSS ).

When you set the [tt]position[/tt] for an element, thet will be raised from the document into a separate layer. So it will not interfere directly anymore with elements outside it. So the other elements will not be sized/positioned according to that element's properties.

But you can still hope that I am wrong...

Feherke.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top