59 lines
2.4 KiB
HTML
59 lines
2.4 KiB
HTML
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
|
|
<html>
|
|
<head>
|
|
<title>Create Div To Create A Table</title>
|
|
<style type='text/css'>
|
|
div#container {
|
|
border: thick blue;
|
|
margin: 0 25px;
|
|
background: pink;
|
|
}
|
|
a:hover {
|
|
background: yellow;
|
|
}
|
|
div#float {
|
|
text-align: center;
|
|
float: left;
|
|
border: 1px solid blue;
|
|
width: 200px;
|
|
height: 200px;
|
|
}
|
|
div.content {
|
|
background: yellow;
|
|
border: 1px solid green;
|
|
}
|
|
div#clear {
|
|
border: 1px solid orange;
|
|
background: green;
|
|
clear: both;
|
|
}
|
|
</style>
|
|
</head>
|
|
<body>
|
|
<div id='container'>
|
|
<div id='float'>
|
|
Float text. <a href='http://www.happycodings.com'>code examples</a>.
|
|
</div>
|
|
Love that is true never grows old. Elben Bano. <a href='http://www.happycodings.com'>code examples</a>.
|
|
<div class='content'>
|
|
Love that is true never grows old. Elben Bano. <a href='http://www.happycodings.com'>code examples</a>.
|
|
</div>
|
|
Love that is true never grows old. Elben Bano. <a href='http://www.happycodings.com'>code examples</a>.
|
|
<div class='content'>
|
|
Love that is true never grows old. Elben Bano. <a href='http://www.happycodings.com'>code examples</a>.
|
|
</div>
|
|
Love that is true never grows old. Elben Bano. <a href='http://www.happycodings.com'>code examples</a>.
|
|
<div class='content'>
|
|
Love that is true never grows old. Elben Bano. <a href='http://www.happycodings.com'>code examples</a>.
|
|
</div>
|
|
Love that is true never grows old. Elben Bano. <a href='http://www.happycodings.com'>code examples</a>.
|
|
<div id='clear'>
|
|
Clear text. <a href='http://www.happycodings.com'>code examples</a>.
|
|
</div>
|
|
<div>
|
|
Another div.
|
|
</div>
|
|
</div>
|
|
</body>
|
|
</html>
|