Is it possible to set the height/width of an element in percent using JavaScript or jQuery?
Yes, it is:
Some Content........ document.getElementById('#myid').style.width = '50%';