Skip to content Skip to sidebar Skip to footer

Css - Top Going Past Parent Element

I am using the top attribute to make a div begin at the top of its parent and end at the bottom. The bottom part is working. For some reason though, the top is beginning two pare

Solution 1:

In order to position the child relative to the parent, you need to declare that the parent's position is relative. I believe this should remedy your issue.

.boxx.details-coursework {
    position: relative;
}

Post a Comment for "Css - Top Going Past Parent Element"