The reason that is happening is because you are making the inner div have
position:absolute.

The only way you can fix this is by figuring out another way of doing what
you're doing, without relying on position:absolute.

On Wed, Feb 25, 2009 at 12:13 PM, Matt White <[email protected]> wrote:

>
> Can anyone tell me how I can get the DIV on the left to fit inside so
> that its text doesn't spill outside its containing DIV? I've messed
> with the height and I can make it fit by keeping the height static and
> making it high enough, but if I added in more text I'd rather not have
> to go change the height of the DIV again. I'd like the DIV to just
> expand dynamically no matter how much text is in it. The CSS of
> interest is at line 1134, but I'm pasting the whole thing in case
> there is something else in there I am missing that is causing the
> problem. Thanks!
>
> The HTML:
> http://pastie.org/400086
> The CSS:
> http://pastie.org/400087
>
> >
>


-- 
-Richard Aday

--~--~---------~--~----~------------~-------~--~----~
--
You received this because you are subscribed to the "Design the Web with CSS" 
at Google groups.
To post: [email protected]
To unsubscribe: [email protected]
-~----------~----~----~----~------~----~------~--~---

Reply via email to