I am having a problem with my menu bar.
What is happening is that when the width of the browser
gets narrower than the width of all the list items in the menubar,
the last list items get dropped down to the line below.
Does anyone know how to keep this from happening?
CODE
#navbar{
margin:0;
padding:0;
line-height:43px;
background-image: url(../pix/perpetualGradient.jpg);
background-repeat: repeat-x;
}
#navbar li {
padding-top: 14px;
margin-left: 83px;
border-left: none;
display:inline;
font-size:14px;
}
#navbar li a {padding: 1em 0.2em;}
<ul id="navbar">
<li id="postResume"><a href="postResume.php">Post Resume</a></li>
<li id="viewJobs"><a href="viewJobs.php">View Jobs</a></li>
<li id="viewResumes"><a href="chatRoom.php">View Resumes</a></li>
<li id="chat"><a href="chat.html">Chat Room</a></li>
<li id="forum"><a href="forums.php">Forum</a></li>
<li id="help"><a href="help.php">Help</a></li>
</ul>
