How to buy div?

<div class="productview_layout_left">
      <img class="productview_icon" src="images/ex.jpg">
    </div>

    <div class="productview_layout_right">
      <div class="productview_name">PURE </div>
    </div>
    

clipboard.png

I have a DIV left and right that is written here

.productview_layout_left{
  width: 64%;
  display: inline-block;
  margin-right: 27px;
}
.productview_layout_right{
  width: 33%;
  display: inline-block;
}

but I want the left and right div to be able to match each other.
what can I do to achieve it?
ways not to use POSITION

Mar.22,2021

float , or set vertical-align:top; .


you can try the flex layout, or you can set the two div to the same height.


use flex layout

MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1b37599-4d725.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1b37599-4d725.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?