Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

CSS Forum


You are currently viewing our CSS Forum as a guest. Please register to participate.
Login



Reply
Nav links not working on one IE page
Old 08-01-2008, 11:37 AM Nav links not working on one IE page
Novice Talker

Posts: 4
Trades: 0
I am completely stumped by a seemingly very simple problem on website www.interiorsformodernliving.com/new (you may need to re-type “new” once you initially put the address into your browser)...

On projects page, the navigation links (home, about us, projects, contact us) don’t work in IE6 and IE7. They work in Firefox and Safari. The weird thing is that the nav links in IE work from the other pages, just not on the projects page and the code is exactly the same on all pages. Any ideas would be greatly appreciated. Thank you!

<div id="links">
<ul>
<li><a href="index.html">home</a></li>
<li><a href="aboutus.html">about us</a></li>
<li><a href="projects.html" class="on">projects</a></li>
<li class="last"><a href="contactus.html">contact us</a></li>
</ul>
</div>

#links
{
color: #e19d65;
font-size: 12px;
margin: 50px 0 0 284px;
}
#links a
{
color: #e19d65;
text-decoration: none;
font-style: normal;
}
#links li
{
display: inline;
list-style: none;
padding-right: 1.4em;
margin-right: 1.10em;
border-right: 1px solid #e8ac7b;
}
#links li.last
{
border-right: 0;
margin-right: 0;
padding-right: 0;
}
#links a.on
{
color: #ffcba1;
}
razbery is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 08-01-2008, 12:43 PM Re: Nav links not working on one IE page
bas
Super Talker

Posts: 108
Name: Bas
Trades: 0
Quote:
the code is exactly the same on all pages.
No, it isn't


The #logo div on the projects-page simply overlaps the menu in IE.

But it actualy is the margin: -27px 0 0 93px; more specific the negative top-margin that IE doesn't handle like it should be.

You can probably solve it with an absolute position of the logo.

Last edited by bas; 08-01-2008 at 12:57 PM.. Reason: mistake
bas is offline
Reply With Quote
View Public Profile
 
Old 08-01-2008, 07:43 PM Re: Nav links not working on one IE page
Novice Talker

Posts: 4
Trades: 0
You are AMAZING. How did you figure that out?
razbery is offline
Reply With Quote
View Public Profile
 
Old 08-02-2008, 10:08 AM Re: Nav links not working on one IE page
bas
Super Talker

Posts: 108
Name: Bas
Trades: 0
Quote:
How did you figure that out?
The links on the project-page weren’t clickable and the link-text was not selectable either, so I knew there was something in front of it. Then I gave #logo a border to see if I was correct.

Using a width for the #logo div didn’t solve it, even when the div ‘visually’ didn’t overlap the menu anymore… But negative margins can give strange effects in IE - actually everything can in IE, but however) so I removed de negative-margin and ... found! ;-)

If I have such kind of ‘unexpected’ problems on my site, I place parts of the CSS code between comment-marks and look if it’s ‘solved’. On this way eventual you find which part causes the error etc.
(maybe it's not the most fast or best way, but it works)
bas is offline
Reply With Quote
View Public Profile
 
Reply     « Reply to Nav links not working on one IE page
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.13644 seconds with 12 queries