Align the icon in the input field

I have a couple of questions. I decided to use focus and blur for the text values ​​in the input field above the placeholder text, since there is a problem with centering the placeholder text in chrome.

I need to put the icon in the input field, in the center of the input field. And cross browser compatible.

I tried everything to focus. This is a sprite I made that works great, this code is fine. Its vertical alignment of the image, which is a problem,

Did anyone help. LINK for the script: http://jsfiddle.net/F2cdu/1/

All code is executed, except for the input field that displays text when the page loads, but we can fix it. Everything else looks fine.

+3
source share
1

, .searchreset span ? -, (div) div: relative : .searchreset top, left, right, bottom css .searchreset

0

All Articles