Check out example codes for "have unordered list horizontal css". It will help you in understanding the concepts better.

Code Example 1

#div_top_hypers {
    background-color:#eeeeee;
    display:inline;      
}
#ul_top_hypers li{
    display: inline;
}

Learn ReactJs, React Native from akashmittal.com