Make Div Not Larger Than Its Contents
> Here we consider how to Make Div Not Larger Than Its Contents.
> Suppose you have a Div with some table content inside as shown below.

> Here table content can be increased dynamically.
> So for making the Div Not Larger Than Its Contents, follow these Style.
> Let the Div will be having a class
clsBlock.
> We can give style in this class for limiting the Div.
.clsBlock
{
display: inline-block;
}
> That's all, this solution would Make Div Not Larger Than Its Contents.
Watch Video of this Content on Video Steaming