Seo'ers - UK SEO, Internet Marketing and Webmaster Forums
May 22, 2013, 11:48:17 AM *
Welcome, Guest. Please login or register.

Login with username, password and session length
 
   Home   Help Search Login Register  
Del.icio.us Digg FURL FaceBook Stumble Upon Reddit SlashDot

Pages: [1]
  Print  
Author Topic: css menu  (Read 1398 times)
0 Members and 1 Guest are viewing this topic.
hkp819
Newbie
*

Karma: +0/-0
Offline Offline

Posts: 7


View Profile
« on: December 23, 2008, 12:54:30 PM »

please tell me how to create the drop down menu in css.
Logged

Banned for being nothing but a spammer
Seo'ers - UK SEO, Internet Marketing and Webmaster Forums
« on: December 23, 2008, 12:54:30 PM »

Recommended SEOers Resources

3 months free Web Hosting from 123-reg!
 Logged
HHI Golf Guy
Global Moderator
Major
*****

Karma: +12/-2
Offline Offline

Posts: 912



View Profile
« Reply #1 on: December 23, 2008, 01:49:41 PM »

http://www.alistapart.com/articles/horizdropdowns

-or-

http://css.maxdesign.com.au/listamatic/
Logged

sandy_joy
Member
*****

Karma: +0/-0
Offline Offline

Posts: 19


View Profile WWW
« Reply #2 on: August 20, 2010, 10:45:43 AM »

Hi here we send a code that hep you see them
bar.html

<html>
<head>
<link href="style.css" rel="stylesheet" media="all" />
</head>
<body>
<div id="menu">
   <ul>
      <li><a href="#" class="current">home</a></li>
      <li><a href="#">about us</a></li>
      <li><a href="#">services</a></li>
      <li><a href="#">solutions</a></li>
      <li><a href="#">contact us</a></li>                        
   </ul>
</div>
</body>
</html>

style.css

*{
   margin:0;
   padding:0;
}
body{
   background:#fff;
   color:#666;   
   font:12px/18px Tahoma, Arial, Helvetica, sans-serif;   
}
   #menu{
      margin:0 auto;
      width:695px;
      height:93px;
      background:url(images/menu_022_bg.jpg) no-repeat;
   }
      #menu ul{
         list-style:none;
         width:495px;
         margin:0 auto;
      }
         #menu li{
            list-style:none;
            display:block;
            float:left;
            height:93px;
            line-height:93px;
            margin:0 3px;      
         }
            #menu li a{
               display:block;
               float:left;
               color:#816232;
               text-transform:uppercase;
               font-size:11px;
               font-weight:bold;
               line-height:93px;
               text-decoration:none;
               padding:0 18px;   
               height:93px;
            }
               #menu li a:hover{
                  color:#6d532a;
                  background:url(images/menu_022_h.jpg) repeat-x;
               }
            #menu li a.current{
               display:block;
               float:left;
               background:url(images/menu_022_h.jpg) repeat-x;         
               color:#6d532a;
               text-transform:uppercase;
               font-size:11px;
               font-weight:bold;
               line-height:93px;
               text-decoration:none;
               padding:0 18px;   
               height:93px;
            }
               #menu li a:hover.current{
                  color:#6d532a;
               }


now here you replace the image name which you need, and still you have problem then just mentio here, I'll try to solve them.
Logged
Pages: [1]
  Print  
 
Jump to:  


Related Topics
Subject Started by Replies Views Last post
How to make the popup window show no menu and tool bar?
Website design and development
ultranet 2 517 Last post January 03, 2007, 03:59:38 PM
by yourweb
Menu order in wordpress
Wordpress
Nobby 9 2170 Last post June 03, 2009, 08:46:17 AM
by Nobby
Powered by MySQL Powered by PHP Powered by SMF 1.1.8 | SMF © 2006-2008, Simple Machines LLC | Sitemap Valid XHTML 1.0! Valid CSS!


Google visited last this page May 21, 2013, 07:03:20 PM