diff --git a/css/label_trash.css b/css/label_trash.css
index dbf23ff..5e65e8e 100644
--- a/css/label_trash.css
+++ b/css/label_trash.css
@@ -3,6 +3,9 @@
   color: #3498db;
   margin-left: 1px;
 }
+.floatlabel-wrapper {
+  display: inline-block;
+}
 .floatlabel-wrapper input,
 .floatlabel-wrapper input.form-text {
   border-top: 0;
diff --git a/js/label_trash.js b/js/label_trash.js
index f2b1e4e..559d1a6 100644
--- a/js/label_trash.js
+++ b/js/label_trash.js
@@ -21,7 +21,7 @@
             // If the input element does not already have a placeholder,
             // create one based on its neighbouring label element.
             if (!placeholder) {
-              label = inputfield.prev('label'); // or siblings() ?
+              label = inputfield.siblings('label');
               if (label.length === 0) {
                 // The targeted element may live inside a <div>.
                 label = inputfield.parent().siblings('label');
