473,473 Members | 1,886 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

CSS Drop down menu can not be display in IE6

selvasoft
34 New Member
I am using css for display drop down menu. But the menu displays in Firefox browser. The same style not display in IE6.

What are some solutions?
Mar 31 '10 #1
4 2197
Mayur2007
67 New Member
Hello selvasoft,

Without code no-one can judge what problem did you have in your code. So pls post your code, which can help someone to judge your problem..

Thanks & Regards,
Mayur Bhayani
Mar 31 '10 #2
selvasoft
34 New Member
Hi Mayur

This is code for css menu
Page navigation CSS the code does not work in IE 6 version.
Please find out my attachment. Any one help me please.

Expand|Select|Wrap|Line Numbers
  1. #menu {
  2.     float: left;
  3.     height: 32px;
  4.     padding-top: 1px;
  5.     padding-bottom: 1px;
  6.     border-left: 1px solid #181818;
  7.     z-index: 20;
  8. }
  9.  
  10. #menu li {
  11.     float: left;
  12.     display: block;
  13.     height: 32px;
  14.     border-right: 1px solid #181818;
  15. }
  16.  
  17. #menu li ul li {
  18.     height: 24px;
  19.     border-right: 0;
  20.     border-bottom: 1px solid #181818;
  21.     width: 100%;
  22. }
  23.  
  24. #menu li a {
  25.     display: block;
  26.     padding-left: 15px;
  27.     padding-right: 15px;
  28.     line-height: 32px;
  29.     font-size: 11px;
  30.     font-weight: bold;
  31.     color: #181818;
  32.         text-decoration: none;
  33.         font-family: 'Lucida Grande', Verdana, Arial, Sans-Serif;
  34.     background: url(images/menu4.jpg) repeat-x;
  35. }
  36.  
  37. #menu li a:hover {
  38.     background: url(images/menu4.jpg) repeat-x;
  39.     color: #5FB404;
  40. }
  41.  
  42. #menu li.current_page_item a {
  43.     background: url(images/menu4.jpg) repeat-x;
  44.     color: #181818;
  45.     border-left: 1px solid #088A08;
  46. }
  47.  
  48. #menu li.current_page_item a:hover {
  49.     background: url(images/menu4.jpg) repeat-x;
  50.     color: #D0F5A9;
  51. }
  52.  
  53. #menu ul {
  54.     display: none;
  55.     z-index: 99;
  56.     position: absolute;
  57. }
  58.  
  59. #menu ul li a {
  60.     display: block;
  61.     background: #5FB404;
  62. }
  63.  
  64. #menu li ul a:hover {
  65.     display: block;
  66.     background:#5FB404;
  67. }
  68.  
  69. #menu ul a {
  70.     display: block;
  71. }
  72.  
  73. #menu ul ul {
  74.     margin-top: -27px;
  75.     display: none;
  76.     margin-left: 198px;
  77.     position: absolute;
  78.     border-left: 1px solid #181818;
  79.     border-right: 1px solid #181818;
  80. }
  81.  
  82. #menu li:hover ul ul {
  83.     display: none;
  84. }
  85. #menu li:hover ul {
  86.     display: block;
  87. }
  88. #menu ul li:hover ul {
  89.     display: block;
  90. }
  91. #menu li ul li {
  92.     display: block;
  93.     width: 100%;
  94. }
  95.  
  96. #menu li.page_item ul {
  97.     border-top: 2px solid #181818;
  98.     width: 200px;
  99. }
  100.  
  101. #menu li.page_item a {
  102.     display: block;
  103. }
  104.  
  105. #menu li.page_item a:hover {
  106.     display: block;
  107. }
  108.  
  109. #menu li.page_item ul li a {
  110.     display: block;
  111.     text-align: left;
  112.     height: 24px;
  113.     line-height: 24px;
  114.     border-right: 1px solid #181818;
  115.     border-left: 1px solid #181818;
  116.     background: #fff;
  117.     padding-left: 15px;
  118.     padding-right: 15px;
  119.     text-transform: uppercase;
  120.     font-size: 10px;
  121.     font-weight: bold;
  122.     color: #333;
  123.         background: url(images/menu4.jpg) repeat-x;
  124.         text-decoration: none;
  125. }
  126.  
  127. #menu li.page_item ul li a:hover {
  128.     display: block;
  129.     text-align: left;
  130.     height: 24px;
  131.     line-height: 24px;
  132.     border-right: 1px solid #181818;
  133.     border-left: 1px solid #181818;
  134.     background: #FFF;
  135.     padding-left: 15px;
  136.     padding-right: 15px;
  137.     text-transform: uppercase;
  138.     font-size: 11px;
  139.     font-weight: bold;
  140. background: url(images/menu4.jpg) repeat-x;
  141.     color: #333;
  142. }
  143.  
  144.  
  145.  
Attached Images
File Type: jpg drop.jpg (8.9 KB, 170 views)
File Type: jpg drop2.jpg (4.9 KB, 218 views)
Apr 1 '10 #3
MusoFreak200
96 New Member
hey man...

when using css, the point is to make it more compact than html... you need to make it more compact for someone to want to help you...
Apr 9 '10 #4
MusoFreak200
96 New Member
okay i have had a quick run throught the top of the code... not all of it...

it seems okay but as i said befor make it more compact...
Apr 9 '10 #5

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

Similar topics

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...
1
by: StevePBurgess | last post by:
Hi I am using a drop down menu adapted from the one in Stylin with CSS by Charles Wyke Smith. The CSS is below. It works perfectly in Internet Explorer (using the csshover behaviour file) but...
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: mjohnson0321 | last post by:
I am trying to incorporate a CSS drop-down menu into a site (suckerfish menu). The menu gets lost behind the content below it, but only on one of the drop downs (News). The error occurs on all of...
2
by: giandeo | last post by:
Hello all, It's almost a couple of weeks since i am struggling to get this code work. Unfortunately, i am stuck. There seems to be no hope... Please Help....... I am working with an asp page...
6
by: phpnewbie26 | last post by:
My current form has one multiple select drop down menu as well as few other drop down menus that are single select. Originally I had it so that the multiple select menu was first, but this created...
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
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
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
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...
1
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...
0
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
1
muto222
php
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

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.