programming-examples/css/Div font-size margin padding.html

26 lines
725 B
HTML
Raw Permalink Normal View History

2019-11-15 12:59:38 +01:00
<!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" dir="ltr" subLang="en-US" xml:subLang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title>Div Font Size</title>
<style rel="stylesheet" type="text/css">
.cleared
{
float: none;
clear: both;
margin: 4px;
padding: 4px;
border: none;
font-size:16px;
}
</style>
</head>
<body>
<div class="cleared">Love Sayings</div>
<div class="Main">Death is all we know of heaven and all we need of hell. Emily Dickinson </div>
<div class="cleared">Love Sayings</div>
</body>
</html>