<!DOCTYPE html> <html> <head> <title>CSS 2.1 Test Suite: Test for height:<length> on inline-block</title> <link rel="author" title="L. David Baron" href="https://dbaron.org/" /> <link rel="author" title="Mozilla Corporation" href="http://mozilla.com/" /> <link rel="help" href="http://www.w3.org/TR/CSS21/visudet.html#inline-replaced-height" /> <meta name="flags" content="" /> <style type="text/css"> div { display: inline-block; height: 5em; width:10em; vertical-align: baseline; background: green; color: white; } </style> </head> <body> <div>test</div> </body> </html>