When a user focus a text field, I want the border, which is 1px, to be 2px, so In order to avoid the GUI feel jumpy, I set:
margin-bottom:-2px;
This plays nice in Firefox but not in Chrome, is this a bug? any solution to have this working in Chrome?
Problem I get is sometimes when I deselect the text field the border sort of stays. This is an example image:

You should use the
outlineinstead of the border as that does not affect positioning and surrounding objects.To quote quirksmode.org: