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? Quote Link to comment 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. Quote Link to comment 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. Quote Link to comment 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. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.