how to make a list to be in the same line html code example Example: how to bring li to same line ul{ overflow:hidden; } li{ display:inline-block; }