Domanda di colloquio di Next Jump

1. How to display two block elements horizontally?

Risposte di colloquio

Anonimo

2 mar 2013

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

1

Anonimo

22 mar 2018

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

Anonimo

14 apr 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>