programming-examples/css/Div float none.html

32 lines
926 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 Float None</title>
<style rel="stylesheet" type="text/css">
.cleared
{
float: none;
clear: both;
margin: 0;
padding: 0;
border: none;
font-size:16px;
}
</style>
</head>
<body>
<div class="cleared">Love Sayings</div>
<div class="Main">True love is eternal, infinite, and always like itself.<br>
It is equal and pure, without violent demonstrations:<br>
it is seen with white hairs and is always young in the heart.<br><br>
Honore de Balzac
</div>
<div class="cleared">Love Sayings</div>
</body>
</html>