Okay, that does "work" but there is a problem. Instead of just padding the inside of the text input, it is actually padding the entire input, pushing it further to the right than it needs to be. Is there something I can do about that, or do I just need to modify the margin of the div to account for this?
Wow, that is kinda confusing - so here is how I have it setup:
I have the fName div styled as such:
Code:
#fName {
margin-top: 42px;
margin-left: 115px;
background: url(../img/fName-input.jpg) no-repeat;
width: 213px;
}
This also affects it:
Code:
#fName, #lName, #street, #city, #zip {
height: 46px;
font-size: 20px;
font-family: Verdana, Geneva, sans-serif;
}
And my input is as follows:
Code:
input {
padding-left: 10px;
}
The div style places the input exactly where I want in in relation to the HTML doc. However, adding the padding to the input actually "pushes" the div wider, which moves it to the right and consequently out of place.
Is there no way to pad the input text relative to the textbox input itself?
Thanks!
Mike