In the code you gave, you need to use a context selector to make the display: inline property apply to the list items, instead of the list itself (applying display: inline to the overall list will have no effect):

#ul_top_hypers li {
display: inline;
}

Email codedump link for How to make a &lt;ul&gt; display in a horizontal row