<div class="container">

    <div class="title">title</div>
    
    <div class="content">
     	<div class="ajax dynamic repeatable content">ajax</div>
    </div>
    
</div>

title and content div's need to get inside the container. the container will auto-adjust to the height created by the title and content.

in my css there is no height limitations, only width.
title fits very well in the container, but the dynamic content won't fit in; it actually goes out of the container box. maybe because there's an ajax content that changes the size depending on the content ?

i'd appreciate some input on how to get the content inside the container as well.

problem solved .. se below the solution

<div id="container">

    <div class="title">title</div>
    
    <div class="content" style="overflow:hidden;">
     	<div class="ajax dynamic repeatable content">ajax</div>
    </div>
    
</div>

Why not add overflow:hidden to the content class?

Member Avatar for rajarajan2017

Thanks for the tip

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.