CSS positioning?


  • Does anyone know where you go to change the CSS positioning to absolute, relative or fixed?  I've been trying to find it for a few hours now and am not having any luck finding it.


    Sunday, November 04, 2012 10:42 PM


  • Hi,

    Please try the code as follow:

    var elementStyle = document.getElementById("id").style;
    elementStyle.position = "relative";

    Please mark the replies as answers if they help or unmark if not.
    If you have any feedback about my replies, please contact msdnmg@microsoft.com
    Microsoft One Code Framework

    • Marked as answer by Song Tian Tuesday, November 13, 2012 6:50 AM
    Tuesday, November 06, 2012 10:27 AM

All replies