View Full Version : nested absolute div overflowing


apis
12-20-2004, 01:36 PM
I used to know this, but I cannot seem to figure it out tonight. How does one get an absolute div to not overflow out of the div it is nested into?


.contentcontainer {
width: 700px;
height: 100%;
min-height: 350px;
background: url(images/rosebg.jpg) no-repeat right top;
}

.content {
font-size: 0.9em;
line-height: 1.5em;
width: 480px;
position: relative;
left: 200px;
}

kittycat
12-20-2004, 03:20 PM
Keep it within the size restrictions, or add a scrollbar
overflow: auto;