Link menu item with side bar : Menu « CSS Controls « HTML / CSS






Link menu item with side bar

  
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
<head>
<title>Antiquity</title>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii" />
<style rel="stylesheet" type="text/css">
* {
  margin: 0;
  padding: 0;
}

a {
  color: #DC8552;
}

a:visited {
  text-decoration: underline;
}

a:hover {
  color: #FCA16C;
}

ul {
  list-style-image: url("antiquity-images/bullet.gif");
  margin: 15px 40px;
}

body {
  background: #3B362E url("antiquity-images/back.jpg") repeat-y;
  background-position: 50% 50%;
  font: normal 11px/18px georgia, times, serif;
  text-align: center;
}

#wrapper {
  margin: 0 auto;
  text-align: left;
  width: 690px;
}

#head {
  width: 690px;
  height: 195px;
  background: #9D3A06 url("antiquity-images/header.jpg") repeat-x;
  border: 5px solid #F1DAAC;
  border-width: 0 5px 5px 5px;
  text-align: right;
}

#head img {
  position: relative;
  right: 570px;
  margin-bottom: 30px;
}

#head h1 {
  color: #fff;
  font-size: 50px;
  margin-right: 30px;
  cursor: default;
  color: #FFE5AE;
}

#left_column,#right_column {
  padding-top: 20px;
  width: 284px;
  float: left;
}

#left_column {
  margin-left: 48px;
  color: #7D3403;
  background: #F7D09B url("antiquity-images/leftgrad.jpg") repeat-x;
}

* html #left_column {
  position: relative;
  top: -8px;
  margin-left: 26px;
  width: 286px;
}

* html #right_column {
  position: relative;
  top: -8px;
  margin-left: 25px;
}

#right_column {
  margin-left: 26px;
  color: #F7D09B;
  background: #9d3a06 url("antiquity-images/rightgrad.jpg") repeat-x;
}

#left_column h1,#right_column h1 {
  font-size: 18px;
  margin-left: 15px;
  display: block;
  padding-bottom: 3px;
  width: 260px;
}

#left_column h1 {
  background: transparent url("antiquity-images/border.gif") repeat-x;
  background-position: bottom right;
}

#right_column h1 {
  background: transparent url("antiquity-images/border2.gif") repeat-x;
  background-position: bottom right;
}

#left_column img,#right_column img {
  border: 3px solid #C57234;
  margin: 20px 0;
}

#left_column a:hover img,#right_column a:hover img {
  border-color: #D48042;
}

#left_column h1 {
  color: #A94D10;
}

#right_column h1 {
  color: #F7D09B;
}

p {
  width: 250px;
  margin: 20px 0 20px 20px;
}

p:first-letter {
  font-size: 30px;
  float: left;
  margin-right: 5px;
}

.links {
  list-style: none;
  list-style-image: none;
  margin: 20px 15px;
}

.links li {
  border-style: solid;
  border-width: 0 0 0 5px;
}

.green {
  border-color: #8A9D30;
}

.blue {
  border-color: #1D304A;
}

.brown {
  border-color: #9D3A06;
}

.grey {
  border-color: #3A342A;
}

.links a {
  display: block;
  width: 244px;
  height: 24px;
  background-color: #A55214;
  font: normal 11px/24px georgia, times, serif;
  color: #F7D09B;
  text-decoration: none;
  margin: 5px 0;
  padding-left: 10px;
  border-left: 1px solid #F7D09B;
}

* html .links a {
  width: 238px;
}

.links a:hover {
  background-color: #9D3A06;
  color: #fff;
}

#bottom {
  float: left;
  clear: both;
  margin: 60px 0 0 70px;
  width: 550px;
}

#left_footer {
  color: #000;
  float: left;
  padding-bottom: 10px;
}

* html #left_footer {
  width: 280px;
  position: relative;
  right: 66px;
}

#right_footer {
  color: #E39C77;
  float: left;
  margin-left: 130px;
  padding-bottom: 10px;
}

* html #right_footer {
  margin-left: -35px;
}

#left_footer a {
  color: #000;
}

#left_footer a:hover {
  color: #333;
}

#right_footer a {
  color: #F5B08B;
}

#right_footer a:hover {
  color: #F9D2BE;
}

</style>
</head>
<body>
<div id="wrapper">
  <div id="head"> <img src="antiquity-images/corner.jpg" alt="" />
    <h1>Antiquity</h1>
  </div>
  <div id="left_column">
    <h1>Left Column</h1>
    <ul class="links">
      <li class="green"><a href="">a link name</a></li>
      <li class="blue"><a href="">a link name</a></li>
      <li class="brown"><a href="">a link name</a></li>
      <li class="grey"><a href="">a link name</a></li>
    </ul>
    <p>Hi, this is Jack with another oswd template. This time I tried to go for something that stands out thematically and visually. The two equal columns can be used for anything from blog posts to product descriptions, it kind of mimics old newspaper columns. Notice that the links above aren't necessarily meant for navigation, but simply a series of links. They could be links to external sites, special resources, etc. Use your imagination :]<br />
      <br />
      You can also use the classes on the lists to change the tab colour. I did it 'cause it looks nice, but it can be used as an organization tool as well (help separate different types of links, etc) <br />
      <br />
      I know the css is a bit cluttered, but I'm coming with a commented update soon.</p>
    <h1>Possible Uses?</h1>
    <ul>
      <li>antique books</li>
      <li>fine wines</li>
      <li>classical music</li>
      <li>historical archive</li>
      <li>just for fun</li>
    </ul>
  </div>
  <div id="right_column">
    <h1>Right Column</h1>
    <p>Nam faucibus urna non arcu. Morbi vulputate hendrerit tellus. Donec porttitor vulputate mi. Praesent eros pede, molestie eget, posuere vitae, vehicula at, erat. Etiam accumsan elementum magna. Vivamus cursus pretium pede. Suspendisse eget lacus at nulla condimentum laoreet. Vivamus vulputate, nulla in tempor malesuada, justo lacus placerat lacus. <a href=""><img src="antiquity-images/image.jpg" alt="" /></a> Sed eget turpis ut lacus congue blandit. Proin faucibus sodales ligula. Praesent placerat nibh ut risus. Vivamus faucibus urna et mi. Integer porta, odio ac fringilla nonummy, urna mi dapibus lorem, in porta erat nulla ut wisi. Quisque sed metus.</p>
  </div>
  <div id="bottom">
    <div id="left_footer"><a href="">footer item</a> | <a href="">another footer item</a></div>
    <div id="right_footer"><a href="">footer item</a> | <a href="">another footer item</a></div>
  </div>
</div>
</body>
</html>

   
    
  








Related examples in the same category

1.Use show or hide UL with link
2.Horizontal menu
3.CSS only menu with mouse over
4.Left bar menu
5.Menu bar with highlight
6.Menu with highlight
7.fixed width floated menu
8.Mouse hover left bar
9.Left navigation bar
10.Use UL and LI to wrap link menu
11.Tab Menu
12.Left bar menu list
13.Top tab menu bar
14.Navigation menu on the top
15.Wide and tall menu
16.Shading menu bar
17.Top menu bar with arrow icon
18.3D top bar background
19.Left menu bar aligned to the bottom
20.Indented vertical menu
21.Single column layout with top menu bar
22.Two-level left menu bar
23.Right section bar with shading menu
24.Right menu bar with image background
25.Right menu bar with section
26.Top menu bar
27.Using top arrow to indicate top menu selection
28.Wide and tall top menu bar
29.List menu bar with background image
30.Two level menu bar
31.Top menu with arrow indication
32.Two column, two leve top menu bar
33.List menu with image
34.Menu List item
35.List menu bar
36.Top menu list bar with bold bottom
37.Side menu bar
38.Scrollable section in side menu bar
39.Selected menu item indication
40.Card layout with top menu bar
41.Side menu bar with lot of space in between
42.HTML skeleton code for creating a two-level horizontal drop menu
43.using jQuery to toggle a hidden menu
44.Vertical menu
45.Horizontal menu bar
46.Vertical menu bar
47.sliding door menu
48.horizontal list menu
49.Sub navigation menu
50.Pure css menu
51.Two column layout with menu on the left
52.Navigation menu horizontal
53.Pure CSS drop-down menu
54.Menu item with border
55.Vertical menu on the left
56.LI menu
57.Mouse hover effect for left menu
58.Post item layout with menu
59.Left menu bar with mouse hover effect
60.a:hover background: transparent url(img/menu_arrow.gif) bottom center no-repeat;
61.Menu item with border 2
62.Link menu
63.Left menu bar with thicker border
64.Change border and background with mouse hover for left menu bar
65.Nested left menu bar
66.Vertical menu bar 2
67.Fixed left menu bar
68.Dark background for menu bar
69.Tag like top menu bar
70.Two line top menu bar
71.Menu item separated with border
72.Using arrow image to indicate current menu selection
73.Two level top menu bar
74.Tab menu bar with mouse hover effect
75.Menu bar with background image
76.Two level side menu bar
77.Left bar with news item
78.Continue read link