...

View Full Version : CSS menu breaks down in firefox.



amandajo
12-18-2006, 04:58 PM
Page does not work in non-IE.
THE PAGE-
http://www.emglab.com/search2/

The main problem is that the menu goes funny in firefox and netscape.
I got the menu from: http://www.htmldog.com/articles/suckerfish/dropdowns/example/

Their menu works good, but mine does not, it is the way I have it nested? Any help?

Thanks! Amanda

1212jtraceur
12-19-2006, 03:33 AM
Just taking a quick look at the source, so I may be incorrect. Your submenus (ul) should be children of the menu options.

NO:


<div id="nav">
<ul>
<li><a class="current" href="index.html">Home</a></li>

<li><a href="index_products.html">Products</a></li>
<ul>
<li><a href="index_downloads.html">Downloads</a></li>
<li><a href="index_links.html">Web Links</a></li>
<li><a href="index_support.html">Support</a></li>
</ul>
<li><a href="index_software.html">Software</a></li>

<ul>
<li><a href="index_downloads.html">Downloads</a></li>
<li><a href="index_links.html">Web Links</a></li>
<li><a href="index_support.html">Support</a></li>
</ul>
<li><a href="index_downloads.html">Downloads</a></li>
<li><a href="index_links.html">Web Links</a></li>

<li><a href="index_support.html">Support</a></li>
</ul>
</div>


YES:


<div id="nav">
<ul>
<li><a class="current" href="index.html">Home</a></li>

<li><a href="index_products.html">Products</a></li>
<ul>
<li><a href="index_downloads.html">Downloads</a></li>
<li><a href="index_links.html">Web Links</a></li>
<li><a href="index_support.html">Support</a></li>
</ul>
</li>
<li><a href="index_software.html">Software</a>

<ul>
<li><a href="index_downloads.html">Downloads</a></li>
<li><a href="index_links.html">Web Links</a></li>
<li><a href="index_support.html">Support</a></li>
</ul>
</li>
<li><a href="index_downloads.html">Downloads</a></li>
<li><a href="index_links.html">Web Links</a></li>

<li><a href="index_support.html">Support</a></li>
</ul>
</div>


(notice the positions of the </li> tags)



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum