Quote:
Originally Posted by louie I cann't get my head around it.
all I have is the beginning of the string in this case "yr".
How am i supposed to reference to that particular span?
I tried: Code: document.getElementsByTagName("span").style.fontWeight = "normal";
and nothing |
Also, that code (getElementsByTagName) returns an array, so you'll need to loop through the array to change the individual elements, rather than than trying to set the style of the array (as you're doing above).