Saturday, August 17, 2013

CSS dimension height maximum

<html>
<head>
<style type="text/css">
p
{
max-height:100px;
}
</style>
</head>

<body>
<p>The maximum height of this paragraph is set to 100px.</p>
</body>
</html>

Result


No comments: