Answers for "two divs in the same line"

0

two divs in the same place

<div class='wrapper'>
   <div class='firstDiv'></div>
   <div class='secondDiv'></div>
</div>
<style>
.wrapper{
  position: relative;
}

.firstDiv, .secondDiv{
  position: absolute;
}
</style>
Posted by: Guest on April-26-2021
0

div same line

#block_container {
    display: flex;
    justify-content: center;
}
Posted by: Guest on November-25-2021
0

div same line

#block_container
{
    text-align:center;
}
#bloc1, #bloc2
{
    display:inline;
}
Posted by: Guest on November-25-2021

Code answers related to "two divs in the same line"

Browse Popular Code Answers by Language