Welcome to the Treehouse Community
Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.
Start your free trial
Fabián Sanabria
3,696 Pointsbottom 0 on height:auto;
So i have this problem on a web page I am working on, hi have a parent div "container" with heigth: auto, poistion: relative, i want the inner div to be position absolute in the bottom of the div "container" but has "container" doesn´t have a fixed height the inner div does not show up. any tips?
2 Answers
Kevin Korte
28,149 PointsSomething like this?
You didn't mention it in your post, but a child div needs something to show up. Either height and width definitions in the CSS or something inside of it. If it's just an empty child div, it won't show up.
Fabián Sanabria
3,696 PointsHI! I already resolve it!!! thank you!!! There was a little more to it, but your answer did help me a lot! Thanks :)!