overflow

Handling Overflowing Content

Example

<!DOCTYPE html>
<html>
<head>
  <title>Page Title</title>
  <style>
    div { width: 180px; height: 70px; border: 1px solid #888; margin-bottom: 8px; font: 13px Arial; }
    .visible { overflow: visible; }
    .hidden { overflow: hidden; }
    .scroll { overflow: auto; }
  </style>
</head>
<body>

<div class="hidden">overflow: hidden. This text is too long for the box, so the rest is clipped and cannot be seen at all.</div>
<div class="scroll">overflow: auto. This text is too long for the box, so a scrollbar appears and you can scroll to read the rest.</div>

</body>
</html>

Result