Bootstrap Tutorial - Align page buttons








The following code shows how to align page buttons.

Example

<!DOCTYPE HTML>
<html>
<head>
<link rel="stylesheet"
  href="https://maxcdn.bootstrapcdn.com/bootstrap/3.2.0/css/bootstrap.min.css">
<style type="text/css">
body {<!--  w  w w  .ja  va  2s.c  o m-->
margin: 50px;
}
</style>

</head>
<body>
<ul class="pager">
  <li class="previous">
    <a href="#">Older</a>
  </li>
  <li class="next">
    <a href="#">Newer</a>
  </li>
</ul>
</body>
</html>

Click to view the demo