one div in two div will ne same line code example Example: add 2 div in same line #bloc1, #bloc2 { display:inline; }