In the code below, the magnifying glass, which I believe is the <svg line of code, appears above the search field box, in the mobile view. And by appearing above it, it pushes the search field box down too much. Is there a way to place the mag glass icon to the left of the search field box, like on the same line horizontally? Or add it inside the search field box, to the left of the words that appear in the field box “Search for videos”. Any help will be appreciated.
Thank you for your reply.
On my mobile view, it is on the left side of the screen, but it appears to be above the search field box. Any help with Is there a way to place the mag glass icon horizontally on the left of the search field box, or add it inside the search field box, to the left of the words that appear in the field box “Search for videos”, will be welcomed
The code you posted is not enough for us to reproduce the problem your seeing.
Nothing in the code you posted says “Search for videos”.
Though you can keep your inline elements from wrapping with white-space: nowrap;
Whether it will work in your page without causing an overflow is unknown to me.