elclanrs / jq-idealforms-old

The ultimate framework for building and validating responsive HTML5 forms.
665 stars 95 forks source link

Width of Label is 0px #79

Closed ed1011 closed 11 years ago

ed1011 commented 11 years ago

Auto width of labels don't working :( When form loading, plugin set width of labels as 0px. I don't understand, what is wrong? Please, help me. Example on this page: http://new.krasimo.ru/organization/salon-krasotyi-unique/reviews/

P.S. sorry for my English)

elclanrs commented 11 years ago

I've no idea what's happening, there's simply too much stuff to be able to tell what's going on, but here's a few suggestions:

  1. Fix markup errors
  2. Don't use fieldset with Ideal Forms.
  3. If you add your own div to the form make sure that it has a class of ideal-wrap.
<div id="review-rating" class="ideal-wrap"> ... </div>
  1. Maybe another plugin is interfering with Ideal Forms, try deativating your plugins one by one to see if that's the problem.
ed1011 commented 11 years ago

Thank you for your answer! But, solution to the problem was to add parameter TRUE in function: before: var t=e(this).outerWidth() - not working :( after: var t=e(this).outerWidth(true) - working :)