NArc0t1c Posted September 14, 2007 Share Posted September 14, 2007 Hello. Basically what I am trying to do is have a textbox that would have an image in it. I have that part done, but what can I use to move the starting point of the text? Example: ____________ Start Here | This is my current script: <html> <head> <style type="text/css"> body { background-color: #FFF; color: #00; font-family: Tahoma; font-size: 12px; } input { border: solid; border-color: #CCC; border-width: 1px; height: 20px; color: #ccc; } input:focus { border-color: #333; color: #333; } .input_name { background: url(input_name.jpg); background-repeat: no-repeat; } .input_key { background: url(input_key.jpg); background-repeat: no-repeat; }</style> </head> <body> <form> <input type="text" class="input_name"> <input type="text" class="input_key"> </form> </body> </html> Thankyou in advance. Ferdi Quote Link to comment Share on other sites More sharing options...
micah1701 Posted September 14, 2007 Share Posted September 14, 2007 padding-left: 10px; /* or whatever distance you want */ 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.