I'm developing a form in ruby on rails and in that form I'm using a slider (http://seiyria.github.io/bootstrap-slider/).
The problem is that I have this element.style
that overwrites my css
like this:
For stored field:
When I add a new field dynamically:
What is this element.style
?
Why this element.style
overwrites the width
?
This element.style width
has the value 0px
in the first case and 152px
in the second, and I have no ideia why.
Any help?