473,839 Members | 1,503 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Another IE6 navbar position problem....

25 New Member
Hi, i've been searching for a solution to this problem but haven't had any joy yet. I have a navbar which positions perfectly in Safari, FF and IE7 - but in IE6, it is pushed out to the right of the page. I'm pretty new to CSS and don't know how to resolve this. If anyone could help, that would be great!

i'll just post the navbar html and css for now as i'm pretty sure that's where the problem lies

Expand|Select|Wrap|Line Numbers
  1. ul#nav {position:relative; margin-left:239px; }
  2. ul#nav li { float:left; list-style-type:none }
  3. ul#nav li a {height:30px; display:block; position:absolute; top:0; text-indent:-9999px; outline:none ; margin-top:160px;}
  5. li#navWelcome a, li#navWhoweare a, li#navIndependent a, li#navWhereweare a, li#navLinks a { background:url(navBG.jpg)}
Expand|Select|Wrap|Line Numbers
  1. <ul id="nav">
  2.     <li id="navWelcome"><a href="index.html">Welcome</a></li>
  3.     <li id="navWhoweare"><a href="whoweare.html">Whoweare</a></li>
  4.     <li id="navIndependent"><a href="independent.html">Independent</a></li>
  5.     <li id="navWhereweare"><a href="whereweare.html">Whereweare</a></li>
  6.     <li id="navLinks"><a href="links.html">Links</a></li>
  7. </ul>
Aug 13 '07 #1
3 1421
7,435 Recognized Expert Expert
Which doctype are you using?
Aug 13 '07 #2
25 New Member
i'm using XHTML 1.0 Transitional - could this be the problem? i usually use XHTML Strict, however, i'm helping out a friend with this problem and he has created his site using Dreamweaver. I had to strip out deprecated tags and styling within the HTML.
Aug 13 '07 #3
7,435 Recognized Expert Expert
Probably not but I wanted to make sure you are using one because IE goes into quirks without it.

I just got back from out of town and not really all here yet.
Aug 13 '07 #4

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

Similar topics

by: David | last post by:
I made a navbar where the buttons light up when the user moves over them. The only problem was in IE the buttons only light up when hovering over the text. This was not a problem in opera! HOWEVER! When I positioned my navbar directly at the top of the page it works fine even in IE! Moving the navbar down about double the height of the font being used and then it stops working only highling the buttons when over the text, weird no?
by: Roger Withnell | last post by:
www.brilley.co.uk/testMenusMac.asp demonstrates the problem. It works in IBM-IE5 but two problems in Mac-IE5 (I've positioned the popup menus on the page to observe the problem). The popup menus corrupt on Macintosh when you mouseover the NavBar buttons. The second problem is that the two NavBar buttons appear as one button on Mac and the popup menus treat them as one button: mouseover "Home" or "Register" moves the pop-menu to the Home...
by: Chad | last post by:
I have a horizontal navbar between my banner and the page's main content (divided into three columns). Below the navbar, the left and right columns are fixed and the center is liquid. I want to position the navbar "li"s directly above the center column and make them liquid so they stretch and contract in correspondence with the center column. Is there a way to do this? Thanks. The styling I'm working with now is:
by: Wiz | last post by:
Greetings the group! I see from a few previous postings that I am not the only person having a problem with hidden list item bullets. This question applies to both IE 6, current version, and Firefox 0.8 browsers, which I am using for testing. I have a design in progress that uses a relatively positioned, left-floated, 122px wide navbar, with the main content padded to the right by 10px, wrapping under after it exceeds the height of the...
by: Bob Richardson | last post by:
I'm in the process of changing from a framed to non-framed web. My test site is: http://www.writeonwhidbey.org/_private/ssi/ssitestBOB.html The scrolling navbar, that stays fixed at the top of the page when you scroll down, works for all browsers that I've tried except Opera. (I'm using Opera 7.54). This nav bar is included in every file with SSI.
by: torquehero | last post by:
Hi all :) I have created a horizontal navbar using Xara Menumaker. The Menu items have several dropdown menus. Its a javascript. When the mouse cursor is moved over any menu item, a dropdown list/menu appears. When the page is opened in the browser (as it appears by default), the dropdown menu positions are correctly displayed. But when I scroll the page and then move the mouse over any menu item of the navbar, the dropdown menu is not...
by: sevenalive | last post by:
Hi-- I am very new at this and trying to teach myself, and I have run into a roadblock that I can't figure out no matter how many times I Google it......my navbar is a vertical column of images, and I want it to go up next to the rest of the page (which consists of a banner image, a h1 image, and some text). It insists on beginning itself below the text on the page. Here is what I've got (I'm sorry if it's confusing---it is probably a...
by: nicky77 | last post by:
Hi, I've created a nav bar using a background image for rollover effects. Everything works as I had hoped, however, for some reason it seems that an area of whitespace (the same size of the background image) is hyperlinked underneath the nav bar. I can't see any errors in the coding below. Any ideas what may be causing this? the page is at http://www.maguiresonline.co.uk/wosis/files/nickysnav.html the html.... <body...
by: nicky77 | last post by:
This is a long shot, but I have no idea why my navbar is being temperamental in IE6. Everything looks ok on page load, but when you fill out the online form and click Submit, the navbar either disappears or goes about 100px where it should be, then when you hover over each menu item, the navbar goes back to where it should be! I'm using an AJAX form which dynamically inserts a loading bar and success/failure mesage without reloading the...
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, weíll explore What is ONU, What Is Router, ONU & Routerís main usage, and What is the difference between ONU and Router. Letís take a closer look ! Part I. Meaning of...
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 synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
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. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
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 then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
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
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
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 effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.