proggR Posted June 7, 2009 Share Posted June 7, 2009 I'm not sure if this is the right section or if I should be in the HTML forum but I looking to customize text inputs. Look at twitter's homepage for reference. They're clearl not the default html textboxes so how would they be changed? I plan on googling more about it but I'm fairly limited with my ability to connect to the Internet right now. Any help or pointers would be great. Thanks in advance for any help. Quote Link to comment https://forums.phpfreaks.com/topic/161239-solved-customize-textboxes/ Share on other sites More sharing options...
Axeia Posted June 7, 2009 Share Posted June 7, 2009 Which textbox are you talking about as the input fields look pretty normal to me. The 'chat bubbles' are simply a div with a fixed width and a triangular image below it. Could even do that without an image by using borders to create an arrow. Quote Link to comment https://forums.phpfreaks.com/topic/161239-solved-customize-textboxes/#findComment-850919 Share on other sites More sharing options...
proggR Posted June 7, 2009 Author Share Posted June 7, 2009 sorry for my spelling being terrible. I'm on my phone since it's the only way I can get online right now. I meant the user name and password textbox. Compare that to when you type <input type="text"> and theyre different. Twitter's is larger and has solid borders. That's what I'm trying to do but a littl larger still. Can I change the font used inside a textbox and have it change the size? And can I change the border of the textbox so it's solid all around, no matter the browser or OS? If anyone knows that'd be great. Whenever I get a chance I'm going to look through twitter's code and see if it has any clues but I'm hoping to find the answer somewhere else if I can. Quote Link to comment https://forums.phpfreaks.com/topic/161239-solved-customize-textboxes/#findComment-850982 Share on other sites More sharing options...
proggR Posted June 7, 2009 Author Share Posted June 7, 2009 I'm back on a computer so hopefully my spelling is better. I figured it out and feel a tad silly. All I had to do was create a class and set the border, text-size, width and height properties of it and then use that class for the textbox. Sorry about that. I should have tried that first. Quote Link to comment https://forums.phpfreaks.com/topic/161239-solved-customize-textboxes/#findComment-851109 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.