var myStyle = document.getElementById('myStyle');
myStyle.style.height = '300px';
myStyle.style.width = '300px';
myStyle.style.display = 'block';
However, I don't think this can actually create a CSS style. If anyone could help me out here, I would greatly appreciate it.