eminem467 Posted June 4, 2007 Share Posted June 4, 2007 Nice community, I have a questions, hope someone can point me in the right direction. I want a way (without flash) to make a background image behind a text field in my login form change when it's active, I attatched images so that you can see what I mean. I want the text field currently being used to have a nice highlight behind it. Thanks for any help you can provide. Link to comment https://forums.phpfreaks.com/topic/54175-highlight-around-textfield-when-selected/ Share on other sites More sharing options...
eminem467 Posted June 4, 2007 Author Share Posted June 4, 2007 I forgot to mention, I know that safari is automatically doing the highlight on the image above, I want to do it within my code though so that all users see it. Link to comment https://forums.phpfreaks.com/topic/54175-highlight-around-textfield-when-selected/#findComment-267835 Share on other sites More sharing options...
mainewoods Posted June 6, 2007 Share Posted June 6, 2007 you can make the border bigger when on focus: <input type="text" name="test" onfocus="this.style.border='3px blue solid';"> Link to comment https://forums.phpfreaks.com/topic/54175-highlight-around-textfield-when-selected/#findComment-268905 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.