From 685039d608e16fc207ed2d8b5f31d47d6d0e6ae6 Mon Sep 17 00:00:00 2001 From: Mark Otto Date: Mon, 12 Mar 2012 00:15:27 -0700 Subject: add a super jank fix for horizontal-forms and .input-prepend/append in IE7 --- docs/assets/css/bootstrap.css | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'docs/assets/css/bootstrap.css') diff --git a/docs/assets/css/bootstrap.css b/docs/assets/css/bootstrap.css index edeaf8bba..e6ccb8b14 100644 --- a/docs/assets/css/bootstrap.css +++ b/docs/assets/css/bootstrap.css @@ -990,6 +990,7 @@ select:focus:required:invalid:focus { .input-append select, .input-prepend .uneditable-input, .input-append .uneditable-input { + *margin-left: 0; -webkit-border-radius: 0 3px 3px 0; -moz-border-radius: 0 3px 3px 0; border-radius: 0 3px 3px 0; @@ -1167,6 +1168,11 @@ legend + .control-group { } .form-horizontal .controls { margin-left: 160px; + /* Super jank IE7 fix to ensure the inputs in .input-append and input-prepend don't inherit the margin of the parent, in this case .controls */ + + *display: inline-block; + *margin-left: 0; + *padding-left: 20px; } .form-horizontal .help-block { margin-top: 9px; -- cgit v1.2.3