I am building a blog and for my comments I have this CSS.
#comments {
position:absolute;
border: 1px solid #900;
border-width: 1px;
border-style: solid;
border-color: #900;
border-bottom: none;
border-right-style:none;
left:0px;
top:352px;
width:475px;
height:183px;
}
However, after posting only one comment to test if it works, the text fills the div and moves out of bottom div limits. I want the div to expand as more comments come. How do I do that?
Use min-height: 183px instead of height: 183px, so it can expand if needed.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With