In the cool light of morning - and with nothing else going on - my clock
code works without doctoring. Comparing with the W3School's HTML clock,
it seems fine. (The number alignment changes with the font choice. School uses Arial.
I'm showing Futura top, and Garamond on the comparison...)
With Arial:
Solved the numbers alignment problem: needed to use printj() rather then print()
(print formated text) 👧. Defined the wrap limit as the width of the number, and specified
the alignment to 'center'.
* * *
No comments:
Post a Comment