我将此 div 的高度设置为 100%,但内容不断溢出。
这是页面:http://cowgirlsbaking.com/membership
CSS:
#content {
margin-left: auto;
margin-right: auto;
background-color: #FCF6E9;
width:868px;
height:100%;
min-height: 650px;
-moz-border-radius: 15px;
-webkit-border-radius: 15px;
border: 10px solid #EB7CDB;
最佳答案
将 overflow: auto;
添加到 #content
。
关于html - Css,内容不在边界内,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/3063167/