Next Jump Interview Question

1. How to display two block elements horizontally?

Interview Answers

Anonymous

Mar 2, 2013

Set css style for second DIV as "inline-block".

1

Anonymous

Mar 22, 2018

Set parent div display value to flex that's all you need to do

Anonymous

Apr 14, 2012

Use CSS to make the block display float left. Clear the float after. Try this: #left, #right { text-align: center; width:11%; height: 640px; border: solid; float: left; } in the body <div>left</div> <div>right</div>