twitter/bootstrap — Issue #2339: Form input appends have wrong margin IE7 for any width other than .span2
Author: vallarfax
Created: 2012-02-29 22:33:30+00:00
State: open

In IE7 form input appends on text inputs have a margin that only works if the text input has span2 class (which happens to be what the examples page uses). It does not adjust to any other width on the text input. This can be seen by changing the class of the "Appended text" input field on the forms example page to span1:

![example](http://i.imgur.com/zTgbO.png)

The issue seems to be in forms.less:
&+.add-on {
*margin-left: -21px;
}

This is probably fixable by generating additional CSS for each span and input size class (-21px for span2, 103px for span3, etc) but I'm not sure that, that's the right way to address this.