how to put two divs in the same line in other div code example Example: add 2 div in same line #bloc1, #bloc2 { display:inline; }