aspose file tools*
The moose likes HTML, CSS and JavaScript and the fly likes Positioning a Div Container inside Another Div Container Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "Positioning a Div Container inside Another Div Container" Watch "Positioning a Div Container inside Another Div Container" New topic
Author

Positioning a Div Container inside Another Div Container

Steve Dyke
Ranch Hand

Joined: Nov 16, 2004
Posts: 1446
    
    1
Here I go again.

I have an absolutely positioned div container with an auto height.

I use jquery to load the container with another absolutely positioned div container but when I do the height of the parent seems to not adjust from its original no height state.

I have set the css up as such:

Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 61224
    
  66

Absolutely positioned elements are not part of the auto flow and will not affect the auto height of the container.


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: Positioning a Div Container inside Another Div Container