Home > front end >  This how to make it into the same height
This how to make it into the same height

Time:09-23

CodePudding user response:

Elastic box

Or use floating

CodePudding user response:

Two elements are set
vertical-align: middle;
Or
vertical-align: top;

CodePudding user response:

You can use the flex layout
 
<style>
The {
height: 60px;
display: flex;
align-items: center;
}
</style>

CodePudding user response:

Locate floating, elastic box and so on can locate search box to search button we add a large box set relative positioning search button to set the absolute positioning or floating right float to the left

CodePudding user response:

Put two div floating, positioning (a unique parent phase) the
  • Related