-
-
Notifications
You must be signed in to change notification settings - Fork 79.1k
IE8 wraps label text when it shouldn't #15275
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
JS Bin for posterity: http://jsbin.com/baqilu/2 |
Is there a reason we are using |
Just wanted to follow up regarding this and see if there is a reason we are using |
CC: @mdo |
The last change was from |
@kkirsche, try that on "Basic example" on http://getbootstrap.com/css/#forms and you will notice that there is difference in margins (bottom margin will be ignored). Label element is inline by default, but in order to use margins and/or width/height, it must be This seems to be caused by unfortunate combination of |
I see what you mean @borissamardzija — thanks for sharing that example, I was just looking at the JSBin |
Yup, for all the reasons @borissamardzija mentioned. |
Punting as a won't fix as well for now. |
Hello,
a fix that solved #13141 is now causing another misbehavior of label in IE8 when using Bootstrap 3.3.1. Reverting to 3.1.1 solves that problem.
It seems that now label width cannot be correctly calculated and breaks when it's floating.
I believe that @ahocquet also noticed this and mentioned in #13141 (comment)
For now, as a workaround for this problem, we detect ie8 using conditional comments and override max-width with something like this
Reduced examples
http://sandbox.boris-samardzija.from.hr/bootstrap/bootstrap-3.3.1.html
http://sandbox.boris-samardzija.from.hr/bootstrap/bootstrap-3.1.1.html
Screenshots
Problematic label wrapping in 3.3.1
Seems okay in 3.1.1
The text was updated successfully, but these errors were encountered: