You can put this solution on YOUR website!
I don't fully understand it myself, but I can give you a link that might help.
It turns out the ratio of a golden rectangle is
this page will show you how it's derived. Sorry I couldn't be of more help, but these guys will do a better job.