Children going out of parent element

Posted by Thomas on Stack Overflow See other posts from Stack Overflow or by Thomas
Published on 2013-11-10T03:47:56Z Indexed on 2013/11/10 3:53 UTC
Read the original article Hit count: 144

Filed under:
|

http://jsfiddle.net/zP49Z/

As you can see, the children [update] are going out of the parent element [feeds]. How can I fix this?

#updates {
    background: #B8C1C2;
    box-shadow: inset 0 0 5px;
    height: 100%;
    float: right;
    position: fixed;
    top: 0;
    right: 0;
    z-index: 100;
    overflow: auto;
}
#feeds {
    width: auto;
    height: 300px;
}
.update {
    border-bottom: 1px solid #929493;
    width: auto;
    height: auto;
    padding-bottom: 20px;
    margin-top: 10px;
}

Thanks!

© Stack Overflow or respective owner

Related posts about html

Related posts about css