1. How to display two block elements horizontally?
Réponses aux questions d'entretien
Utilisateur anonyme
2 mars 2013
Set css style for second DIV as "inline-block".
1
Utilisateur anonyme
22 mars 2018
Set parent div display value to flex that's all you need to do
Utilisateur anonyme
14 avr. 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>