<!DOCTYPE html>
<html>
  <body>
    <fieldset style="max-height: 100px">
      <legend>This is a test</legend>
      <div style="height: 200px">
      </div>
    </fieldset>
  </body>
</html>