开发者

Can I easily style an input control?

开发者 https://www.devze.com 2023-03-19 17:52 出处:网络
Is it easily, straightforwardly possible (no heroic measures: do not revive -- it\'s not that important) to style an input type=\"text\" control? I\'d like to match its height to the font-siz开发者_开

Is it easily, straightforwardly possible (no heroic measures: do not revive -- it's not that important) to style an input type="text" control? I'd like to match its height to the font-siz开发者_开发问答e:70%; height of the label beside it.

I've tried the obvious: input style="height:70%;" but no joy.

Thanks!


If am not mistaken, font-size:70% will do the trick. But am not 100% sure.

0

精彩评论

暂无评论...
验证码 换一张
取 消