<!DOCTYPE html> <html> <head> <meta charset="utf-8"> <title>Maximum height on fieldset</title> <style> div { writing-mode: vertical-lr; } fieldset { background:rgba(0,0,0,0.1); border-color:teal; border-width:2px; height:100px; } </style> </head> <body> <div> <fieldset> <p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Duis odio est, cursus non adipiscing at, fringilla quis eros. Sed volutpat nibh sit amet ante molestie a vehicula nulla gravida. Mauris elementum cursus urna id vestibulum.</p> </fieldset> </div> </body> </html>