Link to home
Start Free TrialLog in
Avatar of jagguy
jagguyFlag for Australia

asked on

horizontal menu error

My links on my horizontal menu  are not working and I did float left
and also display inline? They display on different lines

  <ul id="topmenubar" >
               
                <li> <a  href="contact.php" >Contact Us</a></li>
                  <li> <a  href="about.php" >About Us </a><!--link2--></li>
                 
             
  </ul>
ul#topmenubar
{
margin: 0;
padding:0;
height:30px;
background-color:red;
list-style-type: none;
/*text-align:right;*/
display: inline;

border-left:1px solid grey;



}



ul#topmenubar  li 
{
     border-left:0px solid grey;
     
    
    
 }

ul#topmenubar li a
{

text-decoration: none;
color: white; 
border-left:0px solid grey;
font-weight: bold;
font-size: 1.2em;
padding-right:1em;
padding-left:1em;
}

ul#topmenubar li a:hover{
  color:black;  
   
}

Open in new window

ASKER CERTIFIED SOLUTION
Avatar of Md Shah
Md Shah
Flag of India image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial