Jump to content

[SOLVED] Moving text in text box.


NArc0t1c

Recommended Posts

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

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.