ghurty Posted June 28, 2009 Share Posted June 28, 2009 How can I make an input box have a color rather then being plain? Thanks Quote Link to comment Share on other sites More sharing options...
dzelenika Posted June 28, 2009 Share Posted June 28, 2009 use CSS to format them <input type="text" style="background-color:#FF0000" name="textfield" /> This is not the best practice but works. Quote Link to comment Share on other sites More sharing options...
ghurty Posted June 28, 2009 Author Share Posted June 28, 2009 thank you, how would i have the border be a color? Quote Link to comment Share on other sites More sharing options...
dzelenika Posted June 28, 2009 Share Posted June 28, 2009 <input type="text" style="background-color:#FF0000; border-color:#999999; border-style:solid" name="textfield" /> of course you can change border width by setting border-width: 3px or any number instead of 3px ... 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.