programming-examples/css/Block divider.html
2019-11-15 12:59:38 +01:00

30 lines
813 B
HTML

<!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">
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
<title>Block divider</title>
<style type="text/css" media="Screen">
p {
margin: 2px;
padding: 4px;
background-color: pink;
border-left: 1px solid green;
border-right: 2px solid blue;
border-top: 1px solid gray;
border-bottom: 2px solid blue;
}
* .spacer-large {
padding-bottom: 25px;
}
</style>
</head>
<body>
<p>There is no instinct like that of the heart. Lord Byron</p>
<div class="spacer-large"></div>
<p>We loved with a love that was more than love. Edgar Allan Poe</p>
</body>
</html>