views:

23

answers:

2
+1  A: 

why don't you just style the containing html element (#digitalclock) via css?

pixeline
+1  A: 

You can use CSS to do this. Your clock is being displayed in a container with an ID of digitalclock. That means you can define style rules in an external stylesheet, inline or in the <head> of your .html file:

#digitalclock {
    font-size: 1em;
    font-family: arial, helvetica, sans-serif;
    font-weight: normal;

    color: red;    
    /* and whatever other rules you want */
}
Pat
Brilliant thank you, it came to me straight afterward that it wasn't in the js that the styling goes. But I couldn't figure out where thank you again.
SamRowley