Multiple <li> elements in the same line

multiple synonyms
multiple meaning
multiple math
how to pronounce multiple
multiple times
multiple of 3
multiple noun
how many is considered multiple

I'm making a site for my friend and I wonder if I could put two html <li> elements next to the each other? I've got a jsfiddle here.

You may set their display to inline or inline-block. OR You may float them left.

Multiple, an arrangement of terminals that allows connection with an electrical circuit at any one of several points. consisting of, having, or involving several or many individuals, parts, elements, relations, etc.; manifold.

Try:

li{display:inline-block;}

or

li{float:left;}

Multiple Synonyms, Multiple Antonyms, Multiple definition, consisting of, having, or involving several or many individuals, parts, elements, relations, etc.; manifold. See more. adjective many, several, various, numerous, collective, sundry, manifold, multitudinous He died in hospital of multiple injuries. Collins Thesaurus of the English Language – Complete and Unabridged 2nd Edition. 2002 © HarperCollins Publishers 1995, 2002

Replace

    <ul>
    <li class="main"><a href="#">Home</a></li>
    <li class="main"><a href="#">Dropdown Goes Here</a>
        <ul>
        <a href="#" class="gr">Dropdown content goes here</a>
        </ul>
    </li>
    </ul>

add this to style

.main{
    display:inline;
}

multiple, A multiple is also a number that can be divided into another number without a remainder. Multiples of five, for example are ten, fifteen, twenty — you get the picture. 22 synonyms of multiple from the Merriam-Webster Thesaurus, plus 28 related words, definitions, and antonyms. Find another word for multiple. Multiple: used or done by a number of people as a group.

Assuming you need it for nav, first, give body width:100%;

body {
    text-decoration:none;
    background:#EBEBEB;
    font-family:Calibri;
    width:100%;
}
nav {
    width:100%; /* this will set nav full width of conatiner*/
}
nav > ul >li {
    display:inline-block;
    width:50%; /* this will put 2 in one row*/
}

MULTIPLE, multiple noun [C] (NUMBER). mathematics. a number that results from multiplying one number by another when at least one of them is� In science, a multiple is the product of any quantity and an integer. In other words, for the quantities a and b, we say that b is a multiple of a if b = na for some integer n, which is called the multiplier. If a is not zero, this is equivalent to saying that b / a is an integer.

use float for your elements, like this:

li{
    float: left;   /*  or right  */
}

Multiple Definition (Illustrated Mathematics Dictionary), Illustrated definition of Multiple: Thenbspresultnbspofnbspmultiplying a number by an integer (not by a fraction). Examples: 12 The result of multiplying a number by an integer (not by a fraction).

Multiple, 1.2(of a disease, injury, etc.) complex in its nature or effects; affecting several parts of the body. 'a multiple fracture of the femur'. More example sentences. There is such a thing as multiple personality, and there is also multiple nationality. This earth is made too subtly, of too multiple warp and woof, for prophecy. Books of multiple authorship often possess too wide a diversity of viewpoints. He has abandoned the single hypothesis for the multiple hypothesis.

Multiple (mathematics), In science, a multiple is the product of any quantity and an integer. In other words, for the quantities a and b, we say that b is a multiple of a if b = na for some� Multiple Sclerosis (MS) symptoms are varied and range from pain, to vision problems, to mobility issues. Learn more about the early signs and later symptoms as the disease progresses.

multiple, My Swiss Army knife has multiple blades. Having more than one element, part, component, or� Multiple myeloma, also known as Kahler’s disease, is a type of blood cancer. There’s no cure, but treatments can slow its spread and sometimes make symptoms go away. A type of white blood cell

Comments
  • do you want the to li in horizontal
  • Just note that if you are using float make sure you clear them
  • Yes but if he doesn't know how to float, he will learn to use clearfix method after doing this :)
  • You can not use multiple same id's.