Search code examples
inputpositionfixed

Position fixed input


I have a <input type="button" /> and a <input type="text" />

enter image description here

How can I put the plus to the left of the textbox so that it will always be there, no matter the zoom made on the browser...?


Solution

  • You should put both the controls in a <div> tag.. and set the width of the div, so that it always remain of a fixed size, independent of the browser's zoom.

    And then apply css to the button as: #buttonID { float:left; }