Right navigation bar : Navigation Bar « CSS Controls « HTML / CSS






Right navigation bar

  

<html>
  <head><title></title>

<style type="text/css">
#columnLeft {
  margin-top: 0;
  padding-top: 0;
  float: left;
  width: 67%;
  background:#fff;
  margin-right: 1.67em;
  padding-bottom: 20px;
  border-right: 1px solid black;
  padding-right: 1em;
}

#columnRight {
  padding-left: 2em;
  margin-top: 0;
   padding-top: 0;
}

h1 {
    margin-top: 0;
    padding-top: 0;
}

li {
  list-style: none;
}

#footer  {
  clear: both;
  padding-bottom: 1em;
  border-top: 1px solid #333;
  text-align: center;
}

</style>
</head><body>

<div id="columnLeft">
  <h1>Heading 1</h1>
    <h2><a href="">Heading 2</a></h2>
    <p>Text <a href="http://www.java2s.com">link</a></p>
    <p>Text <a href="">Link</a></p>
</div>
<div id="columnRight">
    <p>Text</p>

<div id="navsite">
<h5>Site Navigation:</h5>
<ul>
    <li><a href="" id="current">Home</a></li>
    <li><a href="">Products</a></li>
    <li><a href="">Services</a></li>
    <li><a href="">About Us</a></li>
    <li><a href="">Contact</a></li>
</ul>

<p>Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text.</p>

</div>


</div>

  <div id="footer">
    <p>Copyright 2008</p>
  </div>

</body>
</html>

   
  








Related examples in the same category

1.Left navigation bar
2.One column with top navigation bar
3.Left bar menu
4.Horizontal menu
5.Expandable left bar
6.CSS tab based navigational bar
7.Nested List style
8.Styled tab navigation
9.Negative Margins example
10.Horizontal navigation bar with anchor and list
11.Horizontal menu with list
12.Using image only as the top navigation bar
13.Vertical Navigation
14.Horizontal Navigation
15.Highlight top navigation link when mouse hover
16.Links navigation at the bottom
17.One level top navigation bar
18.Navigation bar with selected item
19.Horizontal Nav