Another IE6 navbar position problem....

This is a discussion on "Another IE6 navbar position problem...." within the Web Page Design section. This forum, and the thread "Another IE6 navbar position problem.... are both part of the Design Your Website category.



Go Back   Webforumz.com > Main Forums > Design Your Website > Web Page Design

Notices


Reply
 
LinkBack Thread Tools
  #1 (permalink)  
Old Aug 14th, 2007, 22:20
New Member
Join Date: Aug 2007
Location: Glasgow
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
Another IE6 navbar position problem....

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...
Code: Select all
ul#nav {position:relative; margin-left:239px; }
ul#nav li { float:left; list-style-type:none }
ul#nav li a {height:30px; display:block; position:absolute; top:0; text-indent:-9999px; outline:none ; margin-top:160px;}

li#navWelcome a, li#navWhoweare a, li#navIndependent a, li#navWhereweare a, li#navLinks a { background:url(navBG.jpg)}
the html
Code: Select all
<ul id="nav">
    <li id="navWelcome"><a href="index.html">Welcome</a></li>
    <li id="navWhoweare"><a href="whoweare.html">Whoweare</a></li>
    <li id="navIndependent"><a href="independent.html">Independent</a></li>
    <li id="navWhereweare"><a href="whereweare.html">Whereweare</a></li>
    <li id="navLinks"><a href="links.html">Links</a></li>
</ul>
Reply With Quote

  #2 (permalink)  
Old Aug 26th, 2007, 21:37
Reputable Member
Join Date: Jan 2004
Location: California
Age: 19
Posts: 232
Thanks: 0
Thanked 2 Times in 2 Posts
Send a message via AIM to tox0tes
Re: Another IE6 navbar position problem....

Maybe it's getting pushed because you specified it to have a margin-left:239px.... not sure what you want to achieve here, but if you want to relative position it that far, the correct way would be to just do "left:239px"
Reply With Quote
Reply

Tags
ie6

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
Position Within a Container Problem Aerdan Web Page Design 3 Apr 12th, 2008 19:13
Problem with navbar background image - hyperlinking whitespace nicky77 Web Page Design 5 Aug 23rd, 2007 14:39
Position problem in both IE 6 and Firefox catalystmediastudios Web Page Design 2 Nov 17th, 2006 22:29
UL in a Div problem aka : My Navbar Accurax Web Page Design 3 Oct 11th, 2006 16:55
relative position problem antonyx Web Page Design 12 Dec 30th, 2005 21:19


All times are GMT. The time now is 21:51.


Powered by vBulletin®
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0 RC8
© 2003-2008 Webforumz.com : All Rights Reserved

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43