programming-examples/css/Div background rgb.html
2019-11-15 12:59:38 +01:00

42 lines
867 B
HTML

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<head>
<title>Div Background Rgb</title>
<style type='text/css'>
body {
margin: 12px;
padding: 0;
}
div div {
width: 200px;
height: 200px;
background: rgb(105, 196, 169);
border: 1px solid rgb(32, 132, 232);
text-align: left;
}
div#left {
text-align: left;
}
div#center {
text-align: center;
}
div#right {
text-align: right;
}
</style>
</head>
<body>
<div id='left'>happycodings
<div>May your love soar on the wings of a dove in flight. Debbie Crabtree</div>
</div>
<div id='center'>happycodings
<div>Love Love Love</div>
</div>
<div id='right'>happycodings
<div>Code Examples</div>
</div>
</body>
</html>