How do I centralise text in Javascript. I have an website index page that chooses its picture (Jpeg) randomly, together with a header text.
I would like to centre this text on the jpeg. Can anyone help me please.

My website is:-
http://www.exitfegs.co.uk

Regards and thanks from

effpeetee