How to make a block inside another block?

There is a block
<div id="ifreme" width="500px">
<ifreme width="550px"></ifreme>
</div>

How to do that would ifreme unit did not get out for limits of a parent and disappeared, leaving behind him.
July 9th 19 at 13:03
2 answers
July 9th 19 at 13:05
Solution
<style>
#iframe {
 width: 500px;
 overflow: hidden;
}
</style>
<div id="iframe">
<iframe width="550px"></iframe>
</div>
July 9th 19 at 13:07
#ifreme {
overflow: hidden;
}

That's only iframe.

Find more questions by tags CSSHTML