programming-examples/css/Div tag max-height and min-height.html
2019-11-15 12:59:38 +01:00

25 lines
644 B
HTML

<?xml version="1.0" ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" subLang="en" xml:subLang="en">
<head>
<title>Div Tag Max Height And Min Height</title>
<style type='text/css'>
div {min-height:200px;
max-height:300px;
padding:8px;
border:2px solid pink;}
</style>
</head>
<body>
<div> Don't walk in front of me, I may not follow.<br>
Don't walk behind me, I may not lead.<br>
Just walk beside me and be my friend forever.<br><br>
George Fox
</div>
</body>
</html>