Solved

Problem with CSS menu & unwanted dashed box around selected links in FF

Posted on 2010-09-07
10
581 Views
Last Modified: 2013-12-25
Hi...  The menu (see code) works for whichever link is clicked for just the first time.  It dies not work for any subsequent link clicked; i.e., the second link is unresponsive "dead'.  What am I missing here?

The menu is a pure css horizontal menu and it can be seen in action (or non action) at www.renaissanceseniorinvestments.com.  

An unrelated question; how can I get id of the dashed boxes around selected links in FF?

HTML:

<div id="navigation">
                        <ul id="navlist">
                              <li><a href="contact.htm">Contact</a></li>
                              <li><a href="rsc.htm">RSC</a></li>
                              <li><a href="partners.htm">Partners</a></li>
                              <li><a href="success-stories.htm">Success Stories</a></li>
                              <li><a href="5-key-points.htm">5-Key Points</a></li>
                              <li><a href="index.htm">Home</a></li>
                        </ul>
                  </div>

CSS:


#navigation {
      display: block;
      position: absolute;
      z-index: 50;
      top: 195px;
      left: 0px;
      width: 880px;
      height: 30px;
      color: #FFFFFF;
      background-color: #5F6565;
}

#navigation ul {
      list-style: none;            
      padding-right: 95px;
      margin-left: 0;
      float: right;
      width: 100%;
}

#navigation ul li {
      display: inline;
}

#navigation ul li a {
      padding-right: 40px;
      text-decoration: none;
      color: #FFFFFF;
      float: right;
}

#navigation ul li a:hover {
      color: #C2C2C2;
      text-decoration: none;
}
0
Comment
Question by:dlearman1
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 3
  • 3
  • +1
10 Comments
 
LVL 29

Accepted Solution

by:
QPR earned 500 total points
ID: 33615560
outline:none;
0
 
LVL 40

Expert Comment

by:gurvinder372
ID: 33615568
Are you trying to select the same option again while it is selected already?
It works for me if you select the different link from what is already selected.

 
0
 

Author Comment

by:dlearman1
ID: 33615634
QPR:  Thanks for the tip it worked perfectly.

 I see that I didn't give the entire link.  It should be  www.renaissanceseniorinvestments.com/beta.  Sorry about that and no I'm not trying the same link again.  Thanks for your help on this.
0
Get 15 Days FREE Full-Featured Trial

Benefit from a mission critical IT monitoring with Monitis Premium or get it FREE for your entry level monitoring needs.
-Over 200,000 users
-More than 300,000 websites monitored
-Used in 197 countries
-Recommended by 98% of users

 
LVL 29

Expert Comment

by:QPR
ID: 33615948
glad to hear we got it solved. I didn't follow any links I just knew this was the answer from previous exp
0
 

Author Comment

by:dlearman1
ID: 33615987
That solved the "dashed box" issue.  I still need help with the navigation problem.  THANKS
0
 
LVL 29

Expert Comment

by:QPR
ID: 33616072
Oh I forgot the 1st Q and dived into the 2nd :)
Does the link work if u click it a second time?
0
 
LVL 27

Expert Comment

by:Lukasz Chmielewski
ID: 33616181
strange thing

<div id="navigation">
                        <ul id="navlist">
                              <li><a href="contact.htm">Contact</a></li>
                              <li><a href="rsc.htm">RSC</a></li>
                              <li><a href="partners.htm">Partners</a></li>
                              <li><a href="success-stories.htm">Success Stories</a></li>
                              <li><a href="5-key-points.htm">5-Key Points</a></li>
                              <li><a href="index.htm">Home</a></li>
                        </ul>
                  </div>

becomes

                  <div id="navigation">
                        <ul id="navlist">
                              <li id="active"><a href="#" id="current">Contact</a></li>
                              <li><a href="#">RSC</a></li>
                              <li><a href="#">Partners</a></li>
                              <li><a href="#">Success-Stories</a></li>
                              <li><a href="#">5-Key-Points</a></li>
                              <li><a href="#">Home</a></li>
                        </ul>
                  </div>

after clicking one of the links
Doesn't the page contact.htm (for example) reside somewhere else ?
0
 
LVL 27

Expert Comment

by:Lukasz Chmielewski
ID: 33616183
Or there is some js regenerating the links.
0
 
LVL 27

Expert Comment

by:Lukasz Chmielewski
ID: 33616194
try to change the path to /beta

<div id="navigation">
                        <ul id="navlist">
                              <li><a href="beta/contact.htm">Contact</a></li>
                              <li><a href="beta/rsc.htm">RSC</a></li>
                              <li><a href="beta/partners.htm">Partners</a></li>
                              <li><a href="beta/success-stories.htm">Success Stories</a></li>
                              <li><a href="beta/5-key-points.htm">5-Key Points</a></li>
                              <li><a href="beta/index.htm">Home</a></li>
                        </ul>
                  </div>
0
 

Author Closing Comment

by:dlearman1
ID: 33728311
@ part question, only one part answered.
0

Featured Post

[Live Webinar] The Cloud Skills Gap

As Cloud technologies come of age, business leaders grapple with the impact it has on their team's skills and the gap associated with the use of a cloud platform.

Join experts from 451 Research and Concerto Cloud Services on July 27th where we will examine fact and fiction.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

If you are a web developer, you would be aware of the <iframe> tag in HTML. The <iframe> stands for inline frame and is used to embed another document within the current HTML document. The embedded document could be even another website.
This article will inform Clients about common and important expectations from the freelancers (Experts) who are looking at your Gig.
This video teaches users how to migrate an existing Wordpress website to a new domain.
The viewer will receive an overview of the basics of CSS showing inline styles. In the head tags set up your style tags: (CODE) Reference the nav tag and set your properties.: (CODE) Set the reference for the UL element and styles for it to ensu…

615 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question