Take a look at this code snippet on jsfiddle: https://jsfiddle.net/mcgfhL10/
#description{ /*A brief description of the product. */
font-family:"microsoft sans serif";
font-size:22px;
position:relative;
overflow-y:scroll;
bottom:40px;
width:400px;
height:150px;
background:black;
}
I want the div with id description
to be positioned at the bottom of the div with id shelf
. However, it currently aligns itself at the bottom of the image
instead. Why is this happening since they are siblings?