+ 1

How to resize input element?

Im using width and height attributes can't resize input box

6th Nov 2016, 8:13 AM
Satria Manggala Jati (GaLa ORG)
Satria Manggala Jati (GaLa ORG) - avatar
3 odpowiedzi
+ 1
To resize elements avoid using height and width. CSS can resize those for you. Here is an example of inline CSS. <input type="text" style="height: 20px; width: 80px;" /> you can use em, % , vh, vw, pt instead of 'px' as a unit
6th Nov 2016, 9:15 AM
Paul Kabira
Paul Kabira - avatar
+ 1
select an id for your input . and with css style change you width n height
12th Nov 2016, 2:27 PM
Mim masoumi
Mim masoumi - avatar
0
pauk jabira is right bruv
16th Dec 2016, 10:08 AM
niels Pieterse