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