Ive been looking on the internet and could not find any solution to this.
It has to be possible.
I have a login area. There is a text box with a padlock icon at the start of the text box.
No this works using position:absolute;
, but then you have to deal with browser positioning differences. Is there a way to float the icon over the tex box without using position:absolute;
?
<div class="login_password_box">
<i class="icon-lock"></i>
<input type="password" id="login_password" value="" />
</div>