programming-examples/css/Div border solid rgb.html

44 lines
984 B
HTML
Raw Permalink Normal View History

2019-11-15 12:59:38 +01:00
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<head>
<title>Div Border Solid Rgb</title>
<style type='text/css'>
body {
margin: 12px;
padding: 2;
}
div div {
width: 200px;
height: 200px;
background: rgb(156, 196, 169);
border: 1px solid rgb(132, 202, 140);
text-align: left;
}
div#left {
text-align: left;
}
div#center {
text-align: center;
}
div#right {
text-align: right;
}
</style>
</head>
<body>
<div id='left'>The bravest thing that men do is love women. Mort sahl
<div>I Love Clementine</div>
</div>
<div id='center'>May your love soar on the wings of a dove in flight. Debbie Crabtree
<div>I Love Clementine</div>
</div>
<div id='right'>Be of love (a little) more careful than of anything. E.E. Cummings
<div>I Love Clementine</div>
</div>
</body>
</html>