BrianM Posted June 4, 2008 Share Posted June 4, 2008 How can I increase and decrease the default size of a text box to make it visually longer/shorter? <input type="text" /> And another thing, is there a way to set a default text-type for the text that appears inside of a text box? Link to comment https://forums.phpfreaks.com/topic/108770-increasing-default-textbox-size/ Share on other sites More sharing options...
BrianM Posted June 4, 2008 Author Share Posted June 4, 2008 I just figured out how to increase/decrease the text box size, but am still curious as to whether it is possible to change the default text-type in a text box. Link to comment https://forums.phpfreaks.com/topic/108770-increasing-default-textbox-size/#findComment-557978 Share on other sites More sharing options...
haku Posted June 5, 2008 Share Posted June 5, 2008 In your CSS declare this: input { font-family: font1, font2, font2; } Although I have never actually used it on inputs specifically, so there is a possibility it won't work. I would be surprised if that were the case though. Link to comment https://forums.phpfreaks.com/topic/108770-increasing-default-textbox-size/#findComment-558026 Share on other sites More sharing options...
BrianM Posted June 5, 2008 Author Share Posted June 5, 2008 I'm surprised, it actually works! Thanks for the suggestion. Link to comment https://forums.phpfreaks.com/topic/108770-increasing-default-textbox-size/#findComment-558053 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.