Hi, I am trying to make a drop down menu for a personal project I am creating. So i went here http://www.dynamicdrive.com/dynamicindex1/dropmenuindex.htm got the code and set it up. It works on most of my templates but on my current one it doesnt work . This code WORKS: <a href="http://www.dynamicdrive.com" class="menuanchorclass" rel="anylinkmenu1">Home</a><span class="hide"> | </span> HTML: This doesnt: <a class="activenavitab" href="http://www.dynamicdrive.com" class="menuanchorclass" rel="anylinkmenu1">Home</a><span class="hide"> | </span> HTML: If the class is there my drop down does not work if in the line there is class=""... Help! - Prilep
You have two classes in your code, try <a href="http://www.dynamicdrive.com" class="menuanchorclass activenavitab" rel="anylinkmenu1">Home</a><span class="hide"> | </span>
Well is sounds like something with that additional class is conflicting with the menuanchor class. Without knowing the url to the problem, it's impossible to say.
Don't rely on Dynamic Drive for anything other than bad code. If you want a dropdown menu, use the Son of Suckerfish one at http://htmldog.com/articles/suckerfish/dropdowns/
You should look at a basic css tutorial for the difference between a class and an ID, but that probably isn't going to solve you problem. I understand if you don't want to post the url, but no one is going to be able to tell you what is wrong without seeing it. Perhaps you could hire a css coder to fix it.
you can use first class using span like <span class=""> the add your link inside it using other class. May this help you. Not sure. do as <span class=""><a href="" class="2ndclass"></a></span>
ID is the same as class but in the CSS instead .someclass type #someclass or do as mydreams.success@gmail.co says