- 1

Can someone pls tell me how to increase the width of search input.

I was working on a code. I then wanted to add a search input but it was small. Then I decided to add width:; but it only increased the thickness of the line around the search input. PLS HELP.

12th Apr 2022, 10:52 AM
Elijah Adebanwo
Elijah Adebanwo - avatar
8 odpowiedzi
+ 2
< input size="50"> use size attribute in your input tag, the default size is 20 or you can use an another tag called "textarea"
12th Apr 2022, 11:12 AM
NonStop CODING
NonStop CODING - avatar
+ 2
NonStop CODING thanks
12th Apr 2022, 11:14 AM
Elijah Adebanwo
Elijah Adebanwo - avatar
+ 2
You can also use padding. But height and width also work
12th Apr 2022, 3:58 PM
Dev-117
Dev-117 - avatar
+ 1
Elijah Adebanwo use css for that <input size="50" style="height: 100px">
12th Apr 2022, 12:54 PM
NonStop CODING
NonStop CODING - avatar
+ 1
Thx a lot.
12th Apr 2022, 1:03 PM
Elijah Adebanwo
Elijah Adebanwo - avatar
0
What about the height?
12th Apr 2022, 12:51 PM
Elijah Adebanwo
Elijah Adebanwo - avatar
0
Ok thx
12th Apr 2022, 9:13 PM
Elijah Adebanwo
Elijah Adebanwo - avatar