<form class="menu_content_search" action="/action_page.php" style="margin-top: 12px">
<p><span><input type="text" name="q" placeholder="search" style="height:42px;margin-top: 2px"><img src="img/search.png" style="margin-top: -4px" value="Submit" onclick="#"></span></p>
<!-- <input type="submit"> -->
<!-- <button id="search_btn"></button> -->
</form>
</div>
It's the sauce part~
This is the link that I made Link name
If you go in, there's an input window at the top of the navbar I put a magnifying glass image next to that part, but if you reduce the window area, the image falls down
How do we solve this problem?
I tried to tag it and make it visible on one line, but it didn't work
Tell me how to do I do it~~~ Please~
span p tag input img
If you check with the browser developer tool, The resulting width required by navbarform
is approximately 219px
. But The
is set to width
property of the navbar form16%
. The calculation that is 16% is .Calculation of the width (automatically calculated for the entire window area) of the navbar
. So if you shorten the window too much and the final calculation value for 16%
is less than 219px
, the layout is broken as it is now.
Once you fix it like this, you'll get the desired effect.
.navbar form {
/* width: 16%; */* <-- Take this out */
margin-right: 0% !important;
Display: inline-block; /* <-- Put this in. */
}
611 GDB gets version error when attempting to debug with the Presense SDK (IDE)
578 Understanding How to Configure Google API Key
915 When building Fast API+Uvicorn environment with PyInstaller, console=False results in an error
572 rails db:create error: Could not find mysql2-0.5.4 in any of the sources
© 2024 OneMinuteCode. All rights reserved.