sitizahmad
10-14-2009, 06:18 PM
hi everyone.
i am new here, and new to css too.
i'd like to ask about horizontal menu which is working OK in internet explorer (clickable), but its not working at all in firefox (unclickable)..
i have tried few times to figure out whats the prob, but stuck. :confused:
i am begging please could anyone help me with my problem?
here's the code for both css and html :
html :
<div id="bar"><!-- bar starts -->
<ul>
<li><a href="index.html" accesskey="a"><span class="underline">H</span>ome</a>
</li>
<li class="active"><a href="about.html" accesskey="z"><span class="underline">A</span>bout Us</a></li>
<li><a href="download.html" accesskey="c"><span class="underline">D</span>ownload</a>
</li>
<li><a href="support.html" accesskey="k"><span class="underline">S</span>upport</a></li>
<li><a href="programs.html" accesskey="k"><span class="underline">P</span>rograms</a>
</li>
<li><a href="contact.html" accesskey="k"><span class="underline">C</span>ontact Us</a>
</li>
</ul>
</div><!-- bar ends -->
css :
#bar { position:relative; width:700px; clear: both; background: #ccc; height: 25px; margin-left:auto; margin-right:auto; top:80px;}
#bar li { margin: 0; padding: 0; padding-top: 3px; padding-bottom: 4px; padding-left: 10px; padding-right: 10px; border-right: 1px solid #fff; float: left; }
#bar li.active { background: #00AEEF; color: #fff; padding-bottom: 4px; }
#bar a:link, #bar a:active, #bar a:visited { color: #000; }
#bar ul { list-style: none; }
really appreciate your help.
thanks in advanced. ;)
i am new here, and new to css too.
i'd like to ask about horizontal menu which is working OK in internet explorer (clickable), but its not working at all in firefox (unclickable)..
i have tried few times to figure out whats the prob, but stuck. :confused:
i am begging please could anyone help me with my problem?
here's the code for both css and html :
html :
<div id="bar"><!-- bar starts -->
<ul>
<li><a href="index.html" accesskey="a"><span class="underline">H</span>ome</a>
</li>
<li class="active"><a href="about.html" accesskey="z"><span class="underline">A</span>bout Us</a></li>
<li><a href="download.html" accesskey="c"><span class="underline">D</span>ownload</a>
</li>
<li><a href="support.html" accesskey="k"><span class="underline">S</span>upport</a></li>
<li><a href="programs.html" accesskey="k"><span class="underline">P</span>rograms</a>
</li>
<li><a href="contact.html" accesskey="k"><span class="underline">C</span>ontact Us</a>
</li>
</ul>
</div><!-- bar ends -->
css :
#bar { position:relative; width:700px; clear: both; background: #ccc; height: 25px; margin-left:auto; margin-right:auto; top:80px;}
#bar li { margin: 0; padding: 0; padding-top: 3px; padding-bottom: 4px; padding-left: 10px; padding-right: 10px; border-right: 1px solid #fff; float: left; }
#bar li.active { background: #00AEEF; color: #fff; padding-bottom: 4px; }
#bar a:link, #bar a:active, #bar a:visited { color: #000; }
#bar ul { list-style: none; }
really appreciate your help.
thanks in advanced. ;)