Solved

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

Posted on 2010-09-07
10
576 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
  • 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
Master Your Team's Linux and Cloud Stack!

The average business loses $13.5M per year to ineffective training (per 1,000 employees). Keep ahead of the competition and combine in-person quality with online cost and flexibility by training with Linux Academy.

 
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

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Flex container exceeding stated width in IE11 4 15
Alert after MVC form submitted 1 22
Change Firefox bookmarks menu font size 2 34
Mozilla Favorites 10 22
Although it can be difficult to imagine, someday your child will have a career of his or her own. He or she will likely start a family, buy a home and start having their own children. So, while being a kid is still extremely important, it’s also …
Any business that wants to seriously grow needs to keep the needs and desires of an international audience of their websites in mind. Making a website friendly to international users isn’t prohibitively expensive and can provide an incredible return…
Google currently has a new report that is in beta and coming soon to Webmaster Tool accounts. This Micro Tutorial will highlight new features for Google Webmaster Tools.
How to create a custom search shortcut to site-search Experts Exchange using Google in the Firefox browser. This eliminates the need to type out site:experts-exchange.com whenever you want to search the site. Launch your Bookmark Menu: Press 'Ctrl +…

830 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