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

CSS CSS Layout Basics Positioning Page Content Fixed Positioning

Hy there Everyone. Need help about position:absolute,Relative properties

Currently I am working on the clone of a Website. Now website has a Slider which is overlaped by and element called cardContainer. I had achived This by using position property and z index. Both Cardcontainer and slidercontainer are absolute while parent component is relative. Height of Card Container is set to auto. Now i had to plan new This Component which is purchase product and it should be right beneath the CardContainer but unable to do that due to out of normal DOM behaivor Slider and cardcontainer.Component.Need your suggestion in this context

hi Muhammad Ali can you share your code here or on a 3rd-party site such as Codepen, so we can help.

If you used absolute positioning you should expect difficulty with the layout in how it responds to changing content.