We would like to know how to create Book Index Page layout.
<!DOCTYPE html>
<html>
<head>
<style type='text/css'>
.center {<!-- w w w . j a v a 2 s . com-->
display: block;
border-bottom: 1px dotted blue;
overflow: auto;
position: relative;
top: -4px;
}
.right {
float: right;
margin-left: 10px;
}
.left {
float: left;
margin-right: 10px;
}
.container {
width: 200px;
border: 1px dotted red;
padding: 5px;
}
</style>
</head>
<body>
<div class="container">
<span class="left">Title</span>
<span class="right">value</span>
<span class="center"> </span>
</div>
</body>
</html>
The code above is rendered as follows: