locked
Dynamically set style properties on html elements

    Question

  • Hi all,

    I'm loading several div elements from Js. But the problem is i need to leave specific left margin(margin-left) for each one of those elements.

    exactly something like this in Js.

    <div class=\"wideHighItem\" style=\"margin-left:\""+MyValue+"\"\">

    but this method is not possible in WinJs. Is there any way to do this stuff.

    Help me

    Friday, July 12, 2013 6:44 AM