Top menu with arrow indication : Menu « CSS Controls « HTML / CSS






Top menu with arrow indication

  
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>Green Web</title>
<style type='text/css'>
/* CSS Document */
body {
  background: url(Green-Web-images/bg.gif) repeat-x 0 0 #F7F7F7;
  color: #171717;
  font: normal 13px/20px Georgia, "Times New Roman", Times, serif;
  margin: 0;
  padding: 0;
}

div,h1,h2,h3,h4,h5,h6,form,label,input,span,ul,li,p,a {
  margin: 0;
  padding: 0;
}

ul {
  list-style: none;
}

.spacer {
  font-size: 0;
  line-height: 0;
  clear: both;
}

/* -- top navigation start -- */
#topNav {
  width: 683px;
  margin: 0 auto;
  height: 37px;
}

#topNav ul {
  width: 540px;
  margin: 0 auto;
}

#topNav ul li {
  height: 37px;
  float: left;
  background: url(Green-Web-images/bg.gif) repeat-x 0 0 #292929;
  color: #C1C1C1;
  font: bold 12px/37px Arial, Helvetica, sans-serif;
}

#topNav ul li a {
  padding: 0 18px;
  height: 37px;
  float: left;
  text-decoration: none;
  display: block;
  background: url(Green-Web-images/bg.gif) repeat-x 0 0 #292929;
  color: #C1C1C1;
  font: bold 12px/37px Arial, Helvetica, sans-serif;
}

#topNav ul li a:hover {
  background: url(Green-Web-images/top_btn_h.gif) no-repeat center bottom;
}

#topNav ul li a.hover {
  padding: 0 18px;
  height: 37px;
  float: left;
  text-decoration: none;
  display: block;
  background: url(Green-Web-images/top_btn_h.gif) no-repeat center bottom;
  color: #C1C1C1;
  font: bold 12px/37px Arial, Helvetica, sans-serif;
}

/* -- top navigation start -- */
/* -- body start -- */
#body {
  width: 683px;
  margin: 0 auto;
  padding: 0 0 60px 0;
  background: url(Green-Web-images/header_bg.gif) no-repeat right top
    #F7F7F7;
  color: #171717;
}

#body img.logo {
  border: none;
  margin: 30px 0 0 0;
}

#body h1 {
  background: url(Green-Web-images/punch_line.gif) no-repeat 0 0 #F7F7F7;
  color: #171717;
  width: 142px;
  height: 49px;
  text-indent: -20000px;
}

#body div.bodyText {
  padding: 50px 0 0 0;
}

#body div.bodyText h2 {
  font: bold italic 24px/34px Georgia, "Times New Roman", Times, serif;
  color: #B10000;
}

#body div.bodyText h2 span {
  color: #000000;
  background-color: #F7F7F7;
}

#body div.bodyText h3 {
  font: bold 20px/24px Georgia, "Times New Roman", Times, serif;
  color: #526D0D;
  background: url(Green-Web-images/folder_icon.gif) no-repeat 0 5px
    #F7F7F7;
  padding: 0 2px 0 25px;
}

#body div.bodyText h4 {
  font: normal 20px/24px Georgia, "Times New Roman", Times, serif;
  color: #000000;
  background-color: #FFF7DE;
  padding: 0 0 0 10px;
}

#body div.bodyText p {
  font: normal 13px/20px Georgia, "Times New Roman", Times, serif;
  color: #171717;
  padding: 10px 0;
  background-color: #F7F7F7;
}

#body div.bodyText p a {
  color: #003E6A;
  background-color: #F7F7F7;
  text-decoration: underline;
}

#body div.bodyText p a:hover {
  text-decoration: none;
}

#body div.catagory {
  padding: 25px 0 0 0;
}

.pink {
  width: 182px;
  padding: 7px 15px 50px;
  float: left;
  background: url(Green-Web-images/pink_bg.gif) no-repeat 0 0 #F7F7F7;
  color: #4B2B3E;
}

.pink h3 {
  background: url(Green-Web-images/news_icon.gif) no-repeat 2px 13px;
  color: #850049;
  font: bold 20px/38px Georgia, "Times New Roman", Times, serif;
  padding: 0 9px 0 22px;
}

.pink h4 {
  background: url(Green-Web-images/date_bg.gif) no-repeat 0 13px;
  color: #384B06;
  width: 56px;
  text-align: center;
  font: bold 12px/39px Arial, Helvetica, sans-serif;
}

.pink h5 {
  color: #000000;
  text-transform: uppercase;
  font: bold 10px/11px Georgia, "Times New Roman", Times, serif;
}

.pink p {
  color: #4B2B3E;
  padding: 3px 0 10px 0;
  font: normal 11px/17px Georgia, "Times New Roman", Times, serif;
}

.pink a.more {
  background: url(Green-Web-images/pink_more_btn.gif) no-repeat 0 0
    #FFFFFF;
  color: #000000;
  width: 46px;
  height: 11px;
  display: block;
  float: right;
  text-decoration: none;
  text-indent: -2000px;
  padding: 0;
  line-height: 0;
}

.pink a.more:hover {
  background: url(Green-Web-images/pink_more_btn_h.gif) no-repeat 0 0
    #FFFFFF;
  color: #000000;
}

.green {
  width: 182px;
  padding: 7px 15px 50px;
  float: left;
  margin: 0 23px;
  background: url(Green-Web-images/green_bg.gif) no-repeat 0 0 #F7F7F7;
  color: #4B2B3E;
}

.green h3 {
  background: url(Green-Web-images/solution_icon.gif) no-repeat 2px 13px;
  color: #516D0A;
  font: bold 20px/38px Georgia, "Times New Roman", Times, serif;
  padding: 0 9px 0 22px;
}

.green h5 {
  color: #000000;
  text-transform: uppercase;
  font: bold 10px/11px Georgia, "Times New Roman", Times, serif;
}

.green p {
  color: #3D5C32;
  padding: 3px 0 27px 0;
  font: normal 11px/17px Georgia, "Times New Roman", Times, serif;
}

.green p a.line {
  color: #3D5C32;
  padding: 0;
  text-decoration: underline;
  font: normal 11px/17px Georgia, "Times New Roman", Times, serif;
}

.green p a.line:hover {
  color: #3D5C32;
  padding: 0;
  text-decoration: none;
  font: normal 11px/17px Georgia, "Times New Roman", Times, serif;
}

.green a.more {
  background: url(Green-Web-images/green_more_btn.gif) no-repeat 0 0
    #FFFFFF;
  color: #000000;
  width: 46px;
  height: 11px;
  display: block;
  float: right;
  text-decoration: none;
  text-indent: -2000px;
  padding: 0;
  line-height: 0;
}

.green a.more:hover {
  background: url(Green-Web-images/green_more_btn_h.gif) no-repeat 0 0
    #FFFFFF;
  color: #000000;
}

.blue {
  width: 182px;
  padding: 7px 15px 50px;
  float: left;
  background: url(Green-Web-images/blue_bg.gif) no-repeat 0 0 #F7F7F7;
  color: #4B2B3E;
}

.blue h3 {
  background: url(Green-Web-images/support_icon.gif) no-repeat 2px 11px;
  color: #364A5B;
  font: bold 20px/38px Georgia, "Times New Roman", Times, serif;
  padding: 0 9px 0 22px;
}

.blue h5 {
  color: #000000;
  text-transform: uppercase;
  font: bold 10px/11px Georgia, "Times New Roman", Times, serif;
}

.blue p {
  color: #364A5B;
  padding: 3px 0 10px 0;
  font: normal 11px/17px Georgia, "Times New Roman", Times, serif;
}

.blue a.more {
  background: url(Green-Web-images/blue_more_btn.gif) no-repeat 0 0
    #FFFFFF;
  color: #000000;
  width: 46px;
  height: 11px;
  display: block;
  float: right;
  text-decoration: none;
  text-indent: -2000px;
  padding: 0;
  line-height: 0;
}

.blue a.more:hover {
  background: url(Green-Web-images/blue_more_btn_h.gif) no-repeat 0 0
    #FFFFFF;
  color: #000000;
}

.goal {
  width: 448px;
  float: left;
  padding: 0 22px 0 0;
}

.goal h2 {
  font: bold italic 24px/34px Georgia, "Times New Roman", Times, serif;
  color: #B10000;
  background-color: #F7F7F7;
}

.goal h2 span {
  color: #000000;
  background-color: #F7F7F7;
}

.goal p {
  font: normal 13px/20px Georgia, "Times New Roman", Times, serif;
  color: #171717;
  padding: 10px 0;
  background-color: #F7F7F7;
}

.goal p.greenText {
  font: normal 13px/20px Georgia, "Times New Roman", Times, serif;
  color: #526D0D;
  padding: 6px 0;
  background-color: #F7F7F7;
}

.goal ul li {
  font: normal 13px/20px Georgia, "Times New Roman", Times, serif;
  color: #171717;
  padding: 2px 2px 2px 23px;
  margin: 0 0 5px 0;
  background: url(Green-Web-images/bullet_no.gif) no-repeat 2px 5px
    #FFFBED;
}

form.login {
  width: 188px;
  height: 220px;
  float: right;
  padding: 10px 12px;
  background-color: #E7E7E7;
  color: #033462;
}

form.login h2 {
  background: url(Green-Web-images/login_head_bg.gif) no-repeat 0 0
    #E7E7E7;
  color: #000000;
  font: bold 17px/30px Georgia, "Times New Roman", Times, serif;
  padding: 0 0 20px 13px;
}

form.login label {
  background-color: #E7E7E7;
  color: #B10000;
  padding: 0 0 16px 12px;
  float: left;
  font: bold 10px/22px "Trebuchet MS", Arial, Helvetica, sans-serif;
}

form.login input {
  background-color: #FFFFFF;
  color: #2D2D2D;
  margin: 0 0 16px 0;
  padding: 2px;
  width: 118px;
  height: 14px;
  float: right;
  font: normal 10px/14px "Trebuchet MS", Arial, Helvetica, sans-serif;
}

form.login input.loginBtn {
  background-color: #FFFFFF;
  color: #2D2D2D;
  margin: 0;
  padding: 0;
  float: right;
  width: 46px;
  height: 11px;
  line-height: 0;
  font-size: 0;
}

form.login a {
  background-color: #E7E7E7;
  color: #033462;
  padding: 0 0 4px 12px;
  float: left;
  font: bold 10px/12px Georgia, "Times New Roman", Times, serif;
  text-decoration: none;
  text-transform: uppercase;
}

form.login a:hover {
  background-color: #E7E7E7;
  color: #064988;
}

.floatLeft {
  float: left;
}

/* -- body end -- */
/* footer start -- */
#footer {
  background-color: #292929;
  color: #FFFFFF;
}

.footer {
  width: 490px;
  height: 115px;
  margin: 0 auto;
  padding: 18px 0 0 0;
}

.footer ul {
  width: 445px;
  margin: 0 auto;
}

.footer ul li {
  font: bold 12px/20px Arial, Helvetica, sans-serif;
  color: #FAFAFA;
  background-color: #292929;
  float: left;
}

.footer ul li a {
  font: bold 12px/20px Arial, Helvetica, sans-serif;
  text-decoration: none;
  color: #FAFAFA;
  background-color: #292929;
  padding: 0 8px;
}

.footer ul li a:hover {
  font: bold 12px/20px Arial, Helvetica, sans-serif;
  text-decoration: none;
  color: #FAFAFA;
  background-color: #484848;
  padding: 0 8px;
}

.footer p {
  margin: 0 auto;
  width: 175px;
  color: #EDE3C0;
  background-color: #292929;
  font: normal 11px/18px "Trebuchet MS", Arial, Helvetica, sans-serif;
}

.footer p.valid {
  margin: 0 auto;
  width: 128px;
}

.footer p.valid a.xhtml {
  background: url(Green-Web-images/xhtml_btn.gif) no-repeat 0 0 #292929;
  color: #FFFFFF;
  margin: 5px 0 8px 0px;
  text-decoration: none;
  text-indent: -2000px;
  width: 62px;
  height: 13px;
  display: block;
  float: left;
}

.footer p.valid a.xhtml:hover {
  background: url(Green-Web-images/xhtml_btn_h.gif) no-repeat 0 0 #292929;
  color: #FFFFFF;
  margin: 5px 0 8px 0px;
  text-decoration: none;
  text-indent: -2000px;
  width: 62px;
  height: 13px;
  display: block;
  float: left;
}

.footer p.valid a.css {
  background: url(Green-Web-images/css_btn.gif) no-repeat 0 0 #292929;
  color: #FFFFFF;
  margin: 5px 0 8px 4px;
  text-decoration: none;
  text-indent: -2000px;
  width: 62px;
  height: 13px;
  display: block;
  float: left;
}

.footer p.valid a.css:hover {
  background: url(Green-Web-images/css_btn_h.gif) no-repeat 0 0 #292929;
  color: #FFFFFF;
  margin: 5px 0 8px 4px;
  text-decoration: none;
  text-indent: -2000px;
  width: 62px;
  height: 13px;
  display: block;
  float: left;
}

.footer p.tworld {
  margin: 0 auto;
  width: 300px;
  height: 17px;
  padding: 0 3px;
  font: normal 12px/16px Arial, Helvetica, sans-serif;
  color: #414141;
  background-color: #FFFFFF;
  text-align: center;
}

.footer p.tworld a {
  font: bold 12px/16px Arial, Helvetica, sans-serif;
  color: #000000;
  background-color: #FFFFFF;
  text-align: center;
  text-decoration: none;
}

.footer p.tworld a:hover {
  font: bold 12px/16px Arial, Helvetica, sans-serif;
  color: #404040;
  background-color: #FFFFFF;
  text-align: center;
  text-decoration: none;
}
/* footer end -- */
</style>


</head>

<body>
  <!-- top navigation start -->
  <div id="topNav">  
    <ul>
      <li><a href="index.html" title="Home" class="hover">home</a></li>
      <li><a href="#" title="Our Clients">our clients</a></li>
      <li><a href="#" title="Support">support</a></li>
      <li><a href="#" title="New Services">new services</a></li>
      <li><a href="#" title="Productions">productions</a></li>
      <li><a href="#" title="Contact">contact</a></li>
    </ul>
  </div>
  <!-- top navigation start -->
  <!-- body start -->
  <div id="body">
    <a href="index.html" title="Green Web"><img src="images/logo.gif" alt="Green Web" width="309" height="47" border="0" class="logo" /></a>
    <h1>the way of success
    lorem, sed vulputate </h1>
    <div class="bodyText">
      <h2><span>Who</span> are we?</h2>
      <p>Green Web is a <strong>free, tableless, W3C-compliant</strong> web design layout by Template World. This template has been tested and proven compatible with all major browser environments and operating systems. You are free to modify the design to suit your tastes in any way you like.</p>
      <p>We only ask you to not remove "Design by Template World" and the link http://www.templateworld.com from the footer of the template. These templates are licensed under a Creative Commons Attribution 2.5 License. This means that you are free to modify the design to suit your tastes in any way you like, but you must include the provided link back to Template World.</p>
      <h3 class="floatLeft">Nunc sodales quam :</h3>
      <h4> Trimis in faucibus orci luctus etc quis du</h4>
    </div>
    <div class="catagory">
      <div class="pink">
        <h3 class="floatLeft">News</h3><h4 class="floatLeft">12.02.07</h4><br class="spacer" />
        <p>sodales quam vel diam. Aenen diam risus, commodo nec, cuus id, mattis id, sem</p>
        <h5 class="floatLeft">ante. Nunc quis dui</h5><a href="#" title="more" class="more">more</a>
      </div>
      <div class="green">
        <h3 >Solutions</h3>
        <p><a href="#" class="line">nibh. Donec sem mi, mattis is,<br />
        </a><a href="#" class="line">tristique at, fringilla id</a></p>
        <h5 class="floatLeft">sit amet bibendum</h5><a href="#" title="more" class="more">more</a>
      </div>
      <div class="blue">
        <h3>Support</h3>
        <p><strong>sodales quam vel diam.</strong> Aen diam risus, commodo nec, cuus id, mattis id, sem</p>
        <h5 class="floatLeft">aliquet bibendum</h5><a href="#" title="more" class="more">more</a>
        </div>
    <br class="spacer" /></div>
    <div class="goal">
      <h2><span>Our</span> goals</h2>
      <p class="greenText"><strong>Sed id justo at est nonummy elementum. Pellentesque at lectus id neque aliquet bibendum. Quisque lacusfur magna, aliquet et, dignissim at, consectetuer ut, metus.</strong></p>
      <ul>
        <li><strong>Nunc sodales quam vel diam. Aenean diam risus,</strong> cod nec, cursus id, mattis id, sem. Curabitur eleifend dolor vitae massa. DonecUt a nisi. Donec</li>
        <li><strong>Donec euismod, justo sit amet viverra tincidunt, libero velit elementum lorem, </strong>sed vulputate odio dui a erat sed vu. Suspendisse eget enim. Phasellus interdum</li>
      </ul>
    </div>
    <form method="post" action="#" name="login" class="login">
      <h2>Members login</h2>
      <label>Name</label><input name="name" type="text" tabindex="1" id="name" /><br class="spacer" />
      <label>Password</label>
      <input name="password" type="text" tabindex="2" id="password" />
      <br class="spacer" />
      <a href="#" title="Forget password - click here">forget password</a> 
      <input name="" type="image" src="images/login_btn.gif" tabindex="3" title="Login" class="loginBtn" />
    </form>
  <br class="spacer" /></div>  
  <!-- body end -->  
  <!-- footer start -->
  <div id="footer">
    <div class="footer">
      <ul>
        <li><a href="#" title="Home">home</a>|</li>
        <li><a href="#" title="Our Clients">our clients</a>|</li>
        <li><a href="#" title="Support">support</a>|</li>
        <li><a href="#" title="New Sservices">new services</a>|</li>
        <li><a href="#" title="Productions">productions</a>|</li>
        <li><a href="#" title="Contact">contact</a></li>
      </ul>
      <p>&copy;green web. All rights reserved.</p>
      <p class="valid"><a href="http://validator.w3.org/check?uri=referer" target="_blank" title="Valid XHTML" class="xhtml">XHTML</a> <a href="http://jigsaw.w3.org/css-validator/check/referer" target="_blank" title="Valid CSS" class="css">CSS</a></p><br class="spacer" />
      <p class="tworld">Designed by : <a href="http://www.templateworld.com" title="Template World" target="_blank">Template World</a> 
      | <a href="http://www.cssportal.com/">CSS Portal</a></p>
      <br class="spacer" /></div>
  </div>
  <!-- footer end -->    
</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.Two column, two leve top menu bar
32.List menu with image
33.Menu List item
34.List menu bar
35.Top menu list bar with bold bottom
36.Side menu bar
37.Scrollable section in side menu bar
38.Selected menu item indication
39.Card layout with top menu bar
40.Side menu bar with lot of space in between
41.HTML skeleton code for creating a two-level horizontal drop menu
42.using jQuery to toggle a hidden menu
43.Vertical menu
44.Horizontal menu bar
45.Vertical menu bar
46.sliding door menu
47.horizontal list menu
48.Sub navigation menu
49.Pure css menu
50.Two column layout with menu on the left
51.Navigation menu horizontal
52.Pure CSS drop-down menu
53.Menu item with border
54.Vertical menu on the left
55.LI menu
56.Mouse hover effect for left menu
57.Post item layout with menu
58.Left menu bar with mouse hover effect
59.a:hover background: transparent url(img/menu_arrow.gif) bottom center no-repeat;
60.Menu item with border 2
61.Link menu
62.Left menu bar with thicker border
63.Change border and background with mouse hover for left menu bar
64.Nested left menu bar
65.Vertical menu bar 2
66.Fixed left menu bar
67.Dark background for menu bar
68.Link menu item with side 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