I realize this is not related to PHP, but how do you change a style applied to a html element with javascript? I know there has to be a way to do, but I just can't find the DOM for it. Thanks in advance.
Javascript and CSS
Just Google ;-)
document.getElementById('elementname').style = "<styles go here>";
you could always use PHP to grab the style from the CSS file and put it in the <styles go here> bit if you dont want to re-write the whole lot...
I feel so dumb. Thanks for the info, I really appreciate it.