how to make both div on same line code example Example: add 2 div in same line #bloc1, #bloc2 { display:inline; }