473,569 Members | 3,063 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Please help! My css navbar will NOT work in IE6 ...

1 New Member
Hi- this is the project that will not end! (sure you've all been there). I had originally purchased a php/css nav bar for the client, but it was buggy as hell, so I decided to do in css, in which I am still [sadly] a novice, I am afraid.

You can see the sample nav bar at www.tangerine-sky.com/horizontal_nav. html (I am pasting source code below)

It's very simple, has the css included in the page ... works fine on a mac, okay on firefox on a PC but is absolutely broken - no color, no dropdown menus, etc. - in IE6 on a PC ...

What am I missing to get it to display and function? I am looking at the code & am wondering if it is perhaps a broken table in the "If" parts ... but I can't tell where. I'm not quite understanding how the "tables" are used in this context. Please help.

Thank you!

my source code:

[code]<style type="text/css">

body {
FONT-FAMILY: Arial, Helvetica, sans-serif;
font-size: 60%;
}

.menu {
FONT-FAMILY: Verdana, Arial, Helvetica, sans-serif;
FONT-WEIGHT: normal;
PADDING: 3px;
MARGIN: 0px auto 0px auto;
WIDTH: 100%; /* width of the box containing the horizontal menu */
COLOR: #515D5D;

HEIGHT: 18px;
TEXT-ALIGN: left;
z-index:1000;
font-size: .75em;
}

/* draw menu boxes */
.menu a {
CURSOR: hand;
WIDTH: 120px;
COLOR: #515D5D;
HEIGHT: 18px;
BACKGROUND-COLOR: BAD9D9; /* regular background color */
TEXT-ALIGN: left;
TEXT-DECORATION: none;
}

/* rollover */
.menu a:hover {
background: #CCE6DA; /* rollover background color */
COLOR: #666666; /* text color on rollover */
BACKGROUND-REPEAT: no-repeat;
POSITION: relative;
HEIGHT: 18px;
TEXT-ALIGN: left;
TEXT-DECORATION: none; /* remove link underline */
}



/* remove all the bullets, borders and padding from the menu list styling */
.menu ul {
padding: 0px;
margin: 0px auto 0px auto;
list-style: none;
text-align: center;
}

/* position relative so that you can position the sub levels */
.menu ul li {
position: relative;
height:18px;
display: inline;
margin: 0px;
padding: 0px;
float: left;
border: 1px solid grey; /* border around all cells */
}


/* style the links */
.menu a, .menu a:visited {
display:block;
text-decoration:none ;
text-indent:5px;
}


.menu a:hover {
color:#fff;
background:#949 e7c;
}

.menu ul li a:hover, .menu .sub ul li a:hover {
color:#666666;
background: #CCE6DA;
}

/* hide the sub levels and give them a position absolute so that they take up no room */
.menu ul ul {
visibility:hidd en;
position:absolu te;
top: 18px;
left:0px;
display: block;
}

/* make the second level visible when hover on first level list OR link */
.menu ul :hover ul{
visibility:visi ble;
}

/* second level button style */
.menu .sub ul li a {
background-color: #efefef;
background-position: bottom right;
width: 200px;
margin: 0px;
padding: 0px;
}

</style>

<meta http-equiv="Content-Type" content="text/html; charset=utf-8"></head>
<body>



<div class="menu">

<ul>
<li><a href="../index.html"><st rong>Home</strong></a>
</li>

<li><a href="how_oview .html"><strong> How It Works</strong></a><!--<![endif]-->

<!--[if lte IE 6]><table><tr><td ><![endif]-->

<ul>

<li><a href="how_oview .html">Overview </a></li>
<li><a href="how_indep th.html">In Depth</a></li>

</ul>

<!--[if lte IE 6]></td></tr></table></a><![endif]-->

</li>


<li><a href="phys_ovie w.html"><strong >Physicians Info</strong> </a> <!--<![endif]-->

<!--[if lte IE 6]><table><tr><td ><![endif]-->

<ul>

<li><a href="phys_ovie w.html">Overvie w</a></li>
<li><a href="phys_feat ures.html">Feat ures</a></li>
<li><a href="phys_trea tment_plan.html ">Treatment Planning</a></li>
<li><a href="phys_indi cations.html">C linical Indications</a></li>
<li><a href="phys_case _studies.html"> Case Studies</a></li>
<li><a href="phys_publ ications.html"> Publications</a></li>

</ul>

<!--[if lte IE 6]></td></tr></table></a><![endif]-->

</li>


<li><a href="pat_about _rs.html"><stro ng>Patient Info</strong></a><!--<![endif]-->

<!--[if lte IE 6]><table><tr><td ><![endif]-->

<ul>

<li><a href="pat_about _rs.html">About Radio Surgery</a></li>
<li><a href="pat_stori es.html">Patien t Stories</a></li>
<li><a href="pat_locat ions.html">Loca tions</a></li>
<li><a href="pat_faq.h tml">FAQs</a></li>

</ul>

<!--[if lte IE 6]></td></tr></table></a><![endif]-->

</li>


<li><a href="tech_how. html"><strong>T echnical Info</strong></a><!--<![endif]-->

<!--[if lte IE 6]><table><tr><td ><![endif]-->

<ul>

<li><a href="tech_how. html">How It Works</a></li>
<li><a href="tech_qa.h tml">Quality Assurance</a></li>
<li><a href="dosimetry .html">Dosimetr y</a></li>
<li><a href="tech_trea tment_plan.html ">Treatment Planning</a></li>
<li><a href="tech_relo ad.html">Reload ing Radiation Source</a></li>
<li><a href="tech_site plan.html">Site Planning</a></li>
<li><a href="tech_spec s.html">Product Specifications</a></li>
<li><a href="tech_pubs .html">Publicat ions</a></li>

</ul>

<!--[if lte IE 6]></td></tr></table></a><![endif]-->

</li>


<li><a href="comp_prof ile.html"><stro ng>About Us</strong></a><!--<![endif]-->

<!--[if lte IE 6]><table><tr><td ><![endif]-->

<ul>

<li><a href="comp_prof ile.html">Profi les</a></li>
<li><a href="comp_pres s.html">Article s—Press</a></li>

</ul>

<!--[if lte IE 6]></td></tr></table></a><![endif]-->

</li>

<li><a href="../contact.html">< strong>Contact</strong></a>
</li>



</ul>

</div>







<!-- end of info -->



<!--

<div class="menu">

<ul>



<li class="sub"><a href="#">Sales</a>

<ul>

<li><a href="#">Sales Report For Quickbooks</a></li>

</ul>

</li>



<li class="sub"><a href="#">Statem ents</a>

<ul>

<li><a href="#">Statem ent Search</a></li>

<li><a href="#">Genera te Statements</a></li>

</ul>

</li>



<li class="sub"><a href="#">Paymen ts</a>

<ul>

<li><a href="#">Upload Payments From Quickbooks</a></li>

</ul>

</li>



<li class="sub"><a href="#">Report s</a>

<ul>

<li><a href="#">Conten t Sales</a></li>

</ul>

</li>



</ul>

</div>

-->
[/CODE}
Nov 5 '06 #1
1 1788
drhowarddrfine
7,435 Recognized Expert Expert
Always validate your html and css to find your own errors first. YOu have two style elements at the beginning for one thing. In addition, case matters in Xhtml and css. Use lower case in both.
Nov 7 '06 #2

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

Similar topics

2
2002
by: KK | last post by:
Hi Peoples, Can anyone give me any learning materials for learning C++. i.e. can you give me any docs or give me the link to any website that has info on programming in general or C++. (ok I know I could go to a library and read books on C++ but looking for something urgently.)
4
2256
by: steroche | last post by:
I would REALLY appreciate help please please please! Im sure it is probably blindingly obvious to most of you but I am totally in the dark here!I am lost - i thought i had finally figured out this dataSet updating lark when i realised that i think i am right back at square 1!!! Here's my scenario - i have a SQLDB and i retrieve all my data...
13
4311
by: Joner | last post by:
Hello, I'm having trouble with a little programme of mine where I connect to an access database. It seems to connect fine, and disconnect fine, but then after it won't reconnect, I get the error "operation is not allowed when object is open" so I take out the line of code: BookDetails.Connection1.Open and it comes up with the error...
17
2270
by: Saps | last post by:
Hi all. Can anyone help me here. I have loads of .sql files and i need a way to call these from my asp page so the user can run them from the browser. Meaning i have a page with a list of all scripts. each when clicked i am able to run the script. so HOW and what do i do to call and run the .sql Thanks
1
1524
SKJoy2001
by: SKJoy2001 | last post by:
PLEASE HELP ME!!! P E R L!!! I have a CGI (PERL) file namely 'test.cgi' and it has the correct permission (755) on the FTP server and it is within the CGI path. I have the following code in it: =================================== 1: #!/usr/bin/perl 2: 3: $cr = '???';
2
2296
jeffbroodwar
by: jeffbroodwar | last post by:
Hi everyone ! i need help on how can i convert xml data to resultset.. actually i was able to convert ResultSet to XML (using MySQL database) the problem is how can i make my client program consume this xml file... please someone help me with this.... if possible also help me do the research.. i need to finish this before next week. no worries,...
22
3231
by: Amali | last post by:
I'm newdie in c programming. this is my first project in programming. I have to write a program for a airline reservation. this is what i have done yet. but when it runs it shows the number of seats as 0 and the flight no. is also repeating. If any can tell why is this please help me. #include<stdio.h> #include<ctype.h> #include<conio.h>
0
961
by: lvishnugoud | last post by:
Hi, Please Help me for solve this problem. Actually i am create ing help (.chm) files by using HelpNavigator enumrator and showhelp method. I am getting result but in help file left panel index i am not getting the content name . so plese tell me how can i get this . My code is private void showhelp(string currentpage)
1
1863
imrosie
by: imrosie | last post by:
Please help with this one,,,,,I've been trying everything in my arsenal to fix this one. I'm stumped.... I"ve got a unbound combo box (customername) that has two events (on click); AfterUpdate and NotInList. The AfterUpdate uses a 'me.recordsetclone' in order to display other data in controls associated with customerid/customername from the...
2
2440
by: clouddragon | last post by:
Hi, i am in desperate need for any help regarding one of my assignments. I am to write a python program that lists the numbers that are composite from 1 to n(input) and write it to an external txt. I was able to write something that checks whether something is composite or not but able to incorporate it into a loop as such. for example: n =...
0
7619
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language...
0
7930
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. ...
0
8138
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that...
0
7983
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the...
0
6290
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then...
1
5514
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 presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes...
0
3651
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2118
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 we have to send another system
0
950
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 can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating...

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.