Hy, its maybe a stupid question and tottaly easy, but I can't make it work so please help. Here's the code.
asp=height / width * 100;
document.getElementById("head_wrap").style["padding-top"] = "'+asp+%'";
using alert(asp); gives the correct value, but I made some mistake here "'+asp+%'", I want the value to be in percentages but as I said It doesn't work. thanks for your help!
paddingTop...