473,405 Members | 2,421 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,405 software developers and data experts.

problem in drop down menu

hi i have designed the web page where my dropdown menu goes behind the below div how can i make it hover over the div

below is the code

Expand|Select|Wrap|Line Numbers
  1. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  2. <html xmlns="http://www.w3.org/1999/xhtml">
  3. <head>
  4. <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
  5.     <meta http-equiv="X-UA-Compatible" content="IE=Edge"/>
  6.  
  7.     <title> HOME</title>
  8.     <style>
  9.         body {
  10.     font-family: Arial, Helvetica, Sans-Serif;
  11.     font-size: 12px;
  12.     margin: 0px 20px;
  13.     text-align: center;
  14. }
  15.         /* menu */
  16.         #menu { margin:0px; padding:0px; list-style:none; color:#fff; line-height:45px; display:inline-block; float:left; z-index:1000; }
  17.         #menu a { color:#fff; text-decoration:none; }
  18.         #menu > li {
  19.     background: #172322 none repeat scroll 0 0;
  20.     cursor: pointer;
  21.     float: left;
  22.     position:relative;
  23.     padding: 0px 20px;
  24.     background-color: #006600;
  25. }
  26.         #menu  li a:hover {color:#B0D730;}<!---original-->
  27.         #menu .logo {background:transparent none repeat scroll 0% 0%; padding:0px; background-color:Transparent;}
  28.         /* sub-menus*/
  29.         #menu ul { padding:0px; margin:0px; display:block; display:inline;}
  30.         #menu li ul { position:absolute; left:-10px; top:0px; margin-top:45px; width:150px; line-height:16px; background-color:#006600;/*code for sub menu */ color:#e8eef0; /* for IE */ display:none; }
  31.         #menu ul li > ul:hover { display:block;}
  32.         #menu li ul li { display:block; margin:5px 20px; padding: 5px 0px;  border-top: dotted 1px #a0c946; list-style-type:none; }
  33.         #menu li ul li:first-child { border-top: none; }
  34.         #menu li ul li a { display:block; color:#e6eff2;/* sub menu font color*/ }
  35.         #menu li ul li a { color:#7FCDFE; }
  36.         /* main submenu */
  37.         #menu #main { left:0px; top:-20px; padding-top:20px; background-color:#7cb7e3; color:#fff; z-index:999;}
  38.         /* search */
  39.         .searchContainer div { background-color:#fff; display:inline; padding:5px;}
  40.         .searchContainer input[type="text"] {border:none;}
  41.         .searchContainer img { vertical-align:middle;}
  42.         /* corners*/
  43.         #menu .corner_inset_left { position:absolute; top:0px; left:-12px;}
  44.         #menu .corner_inset_right { position:absolute; top:0px; left:150px;}
  45.         #menu .last { background:transparent none repeat scroll 0% 0%; margin:0px; padding:0px; border:none; position:relative; border:none; height:0px;}
  46.         #menu .corner_left { position:absolute; left:0px; top:0px;}
  47.         #menu .corner_right { position:absolute; left:132px; top:0px;}
  48.         #menu .middle { position:absolute; left:18px; height: 20px; width: 115px; top:0px;}
  49.     #heading {
  50.     background-color: #030;
  51.     margin: auto;
  52.     padding: 0px;
  53.     height: auto;
  54.     width: auto;
  55.     border: thin solid #030;
  56. }
  57.     #center body {
  58.     background-color: #CCC;
  59.     margin: 0px;
  60.     padding: 0px;
  61.     height: 1200px;
  62.     width: 900px;
  63.     border: thin groove #063;
  64. }
  65.     </style>
  66.     <link href="toplink.css" rel="stylesheet" type="text/css" />
  67.     <!-- link to magicslideshow.css file -->
  68.         <!--new-->
  69.  <script type="text/javascript" charset="utf-8" src="SlideshowAnFinal_edgePreload.js"></script>
  70.     <style>
  71.         .edgeLoad-EDGE-47748733 { visibility:hidden; }
  72.     </style>
  73. <!--Adobe Edge Runtime End-->
  74.  
  75. </head>
  76.  
  77. <!--body starts-->
  78. <body>
  79.  
  80.       <div id="imp_link">
  81.         <div align="right"><a href=""> Home</a>
  82.           <b>|</b>
  83.           <a hre="">Results</a>
  84.           <b>|</b>
  85.           <a href="">SIS</a>
  86.          </div>
  87.  
  88.       </div><!--div closed-->
  89.  
  90.     <div id="heading">
  91.       <div align="right"><img src="image/col name12.png"  alt="logo" width="673" height="74" align="absmiddle"/></div>
  92.       <br />
  93.  
  94.     </div><!--div heading closed-->
  95.  
  96. <div style="margin-left:60px;">
  97.     <ul id="menu">
  98.       <li><a href="#">Home</a>
  99.       </li>
  100.  
  101.             <!--about us-->
  102.             <li><a href="#">About Us</a>
  103.                 <ul id="help">
  104.                     <li>
  105.                         <img class="corner_inset_left" alt="" src="corner_inset_left.png"/>
  106.                         <a href="#">Objectives and mission</a>
  107.                         <img class="corner_inset_right" alt="" src="corner_inset_right.png"/>
  108.                     </li>
  109.                     <li><a href="#">Governing body</a></li>
  110.                     <li><a href="#">Academic Committee</a></li>
  111.                     <li><a href="#">College Council</a></li>
  112.                     <li><a href="#">Board of Trustee</a></li>
  113.                     <li class="last">
  114.                         <img class="corner_left" alt="" src="corner_left.png"/>
  115.                         <img class="middle" alt="" src="dot.gif"/>
  116.                         <img class="corner_right" alt="" src="corner_right.png"/>
  117.                     </li>
  118.                 </ul>
  119.             </li>
  120.  
  121.             <!--admission-->
  122.             <li><a href="#">Admission</a>
  123.                 <ul id="help">
  124.                     <li>
  125.                         <img class="corner_inset_left" alt="" src="corner_inset_left.png"/>
  126.                         <a href="#">B.E</a>
  127.                         <img class="corner_inset_right" alt="" src="corner_inset_right.png"/>
  128.                     </li>
  129.                     <li><a href="#">M.Tech</a></li>
  130.                     <li><a href="#">MBA/MCA</a></li>
  131.                     <li><a href="#">M.Sc(Engg)/Ph.D</a></li>
  132.                     <li><a href="#">Eligibility Criteria</a></li>
  133.                     <li class="last">
  134.                         <img class="corner_left" alt="" src="corner_left.png"/>
  135.                         <img class="middle" alt="" src="dot.gif"/>
  136.                         <img class="corner_right" alt="" src="corner_right.png"/>
  137.                     </li>
  138.                 </ul>
  139.       </li>
  140.  
  141.             <!--Placement-->
  142.  
  143.             <li><a href="#">Placement</a>
  144.                 <ul id="help">
  145.                     <li>
  146.                         <img class="corner_inset_left" alt="" src="corner_inset_left.png"/>
  147.                         <a href="#">Training & Placement Cell</a>
  148.                         <img class="corner_inset_right" alt="" src="corner_inset_right.png"/>
  149.                     </li>
  150.                     <li><a href="#">Visiting Company</a></li>
  151.                     <li><a href="#">Training Program</a></li>
  152.                     <li><a href="#">Placement Report 2014</a></li>
  153.                     <li><a href="#">Placement Report 2013</a></li>
  154.                     <li><a href="#">Placement Report 2012</a></li>
  155.                     <li><a href="#">Placement Report 2011</a></li>
  156.                     <li class="last">
  157.                         <img class="corner_left" alt="" src="corner_left.png"/>
  158.                         <img class="middle" alt="" src="dot.gif"/>
  159.                         <img class="corner_right" alt="" src="corner_right.png"/>
  160.                     </li>
  161.                 </ul>
  162.             </li>
  163.  
  164.  
  165.             <!--Department-->
  166.             <li><a href="#">Department</a>
  167.                 <ul id="help">
  168.                     <li>
  169.                         <img class="corner_inset_left" alt="" src="corner_inset_left.png"/>
  170.                         <a href="#">Bio-Technology</a>
  171.                         <img class="corner_inset_right" alt="" src="corner_inset_right.png"/>
  172.                     </li>
  173.                     <li><a href="#">Civil Engineering</a></li>
  174.                     <li><a href="#">Pages</a></li>
  175.                     <li class="last">
  176.                         <img class="corner_left" alt="" src="corner_left.png"/>
  177.                         <img class="middle" alt="" src="dot.gif"/>
  178.                         <img class="corner_right" alt="" src="corner_right.png"/>
  179.                     </li>
  180.                 </ul>
  181.             </li>
  182.  
  183.             <!--facility-->
  184.             <li><a href="#">Facility</a>
  185.                 <ul id="help">
  186.                     <li>
  187.                         <img class="corner_inset_left" alt="" src="corner_inset_left.png"/>
  188.                         <a href="#">General help</a>
  189.                         <img class="corner_inset_right" alt="" src="corner_inset_right.png"/>
  190.                     </li>
  191.                     <li><a href="#">Posts</a></li>
  192.                     <li><a href="#">Pages</a></li>
  193.                     <li class="last">
  194.                         <img class="corner_left" alt="" src="corner_left.png"/>
  195.                         <img class="middle" alt="" src="dot.gif"/>
  196.                         <img class="corner_right" alt="" src="corner_right.png"/>
  197.                     </li>
  198.                 </ul>
  199.             </li>
  200.             <!--contact-->
  201.  
  202.             <li><a href="#">Contact</a>
  203.                 <ul id="help">
  204.                     <li>
  205.                         <img class="corner_inset_left" alt="" src="corner_inset_left.png"/>
  206.                         <a href="#">General help</a>
  207.                         <img class="corner_inset_right" alt="" src="corner_inset_right.png"/>
  208.                     </li>
  209.                     <li><a href="#">Posts</a></li>
  210.                     <li><a href="#">Pages</a></li>
  211.                     <li class="last">
  212.                         <img class="corner_left" alt="" src="corner_left.png"/>
  213.                         <img class="middle" alt="" src="dot.gif"/>
  214.                         <img class="corner_right" alt="" src="corner_right.png"/>
  215.                     </li>
  216.                 </ul>
  217.             </li>
  218.  
  219.  
  220.             <li class="searchContainer">
  221.                 <div>
  222.                 <input type="text" id="searchField" />
  223.                 <img src="magnifier.png" alt="Search" onclick="alert('You clicked on search button')" /></div>
  224.                            </li>
  225.   </ul>
  226.  
  227. </div>
  228. <br />
  229. <br />
  230. </div>
  231.     <div style="float; clear:both;">
  232.  
  233. <div id="Stage" class="EDGE-47748733" align="justify">
  234.  
  235.     </div>
  236.  
  237.     <!-- end of menu-->
  238.     <br />
  239.     <br />
  240.  
  241. </div>
  242.  
  243. kjsdljfsl;uflasfkjasfmlasdfkdkshjfkjhsd
  244.  
  245.  
  246. </body>
  247. </html>
Feb 15 '15 #1
0 1051

Sign in to post your reply or Sign up for a free account.

Similar topics

6
by: Greg Scharlemann | last post by:
I am attempting to populate a drop down menu based on the selection of a different drop down menu. However, it is not working correctly, I cannot figure out for the life of me what exactly happens...
10
by: Haines Brown | last post by:
I've implemented the horizontal drop down menu discussed recently in this newsgroup, and it works nicely under Galeon and Mozilla, but not IE 5.0. Here are the problems: Under IE 5.0, the...
4
by: rajat | last post by:
Hi, I have adapted a drop down menu from USC webpage (www.usc.edu). The link to my page is http://www-scf.usc.edu/~swarup/test/test.html The links to the CSS ans JS files are:...
2
by: hemanth.singamsetty | last post by:
Hello there, I've a drop down menu (created using CSS & Javascript -- see code below). My problem is, whenever I click a link on the menu the new page replaces the current page (and the menu...
3
by: Andy Munnis | last post by:
Need help with creating a drop down menu. I am trying to replicate the GUI of a large db application that runs on large Sun servers using Oracle/Solaris, etc. My purpose is to create a stand-alone...
3
by: rsteph | last post by:
I have a javascript drop down menu that I borrowed from a website. It utilizes a little .css to help with formatting. The menu works great, and on all 3 of the browsers I'm concerned about; but I am...
4
by: TycoonUK | last post by:
Hi, As I do not have IE7 on my computer, I was wondering if there is a fault in my CSS Menu when using IE7. Please can someone look at my site - http://www.worldofmonopoly.co.uk and tell me...
22
by: Archanak | last post by:
Hi, I am using 2-level CSS Drop Down Menu in my perl/CGI program. here is the code. #!c:/perl/bin/perl.exe use CGI qw(:standard);
0
by: buzzard724 | last post by:
Ul li drop down menu works in FF not quite in IE Thank you for looking at this. The page is generated dynamically by php, js and jquery. The drop down menu ul- reports-li - works fine in FF. In...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.