<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"> <html> <head> <title>CSS Test: Border-bottom-width using 'ex' units with a minimum plus one value, 1ex</title> <link rel="author" title="Microsoft" href="http://www.microsoft.com/"> <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/"> <!-- 2012-05-23 --> <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-bottom-width"> <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-width-properties"> <link rel="match" href="reference/border-bottom-width-025-ref.htm"> <meta name="flags" content="ahem"> <meta name="assert" content="The 'border-bottom-width' property supports a minimum plus one length value in 'ex' units that sets the width of the bottom border."> <style type="text/css"> div { font: 20px/1 Ahem; } #wrapper { background: red; height: 1ex; } #test { border-bottom-style: solid; border-bottom-width: 1ex; height: 0; } </style> </head> <body> <p>Test passes if there is a wide black stripe and <strong>no red</strong>.</p> <div id="wrapper"> <div id="test"></div> </div> </body> </html>