Is it possible to set the height/width of an element in percent using JavaScript or jQuery?
I always do it like this:
$("#id").css("width", "50%");