I have a site with textbox and submit button. Every time when im trying to type into textbox, submit button moves a bit downwards. I assume that it is because of Javascript changing font size in the textbox, but i have no idea how to fix that issue. I would be happy if someone would help me.
Example can be found here: http://maksim.no-ip.org/kust/
Thank you for the answer. But if I’ll change value “small” to “18px” or vice versa, then in this case after moving off from the textbox and leaving it empty, text “type text here” appears to be bigger than the content which im typing in and before that. Point of this textbox is that “Type text here!” should be in italic and some px smaller than user typed text.
Those lines doesnt make sense then anymore, because i could just set static font size in CSS and thats it. If there is no other way, then I assume that it should be done with positioning or float properties.
When I added this line, my textbox started jumping, so I added this property to both objects and now they are staying where they are. Thank you for your help!