I have a custom binding.
<div data-bind="autocomplete : { inputStyle : { marginRight : marginR }}"></div>
in my init function I do this. I add a inputbox that I need to be styled.
$element.append("<input type='text' data-bind='style='" + value.inputStyle + "' />");
I know this wont work, but please can somebody help me do it right.